@@ -147,7 +147,7 @@ impl Plan {
147
147
/// Expresses which [`StatementKind`] can generate which set of
148
148
/// [`PlanKind`].
149
149
pub fn generated_from ( stmt : StatementKind ) -> Vec < PlanKind > {
150
- match stmt {
150
+ match dbg ! ( stmt) {
151
151
StatementKind :: AlterConnection => vec ! [ PlanKind :: AlterNoop , PlanKind :: RotateKeys ] ,
152
152
StatementKind :: AlterIndex => vec ! [
153
153
PlanKind :: AlterIndexResetOptions ,
@@ -168,7 +168,12 @@ impl Plan {
168
168
StatementKind :: AlterSystemSet => vec ! [ PlanKind :: AlterNoop , PlanKind :: AlterSystemSet ] ,
169
169
StatementKind :: Close => vec ! [ PlanKind :: Close ] ,
170
170
StatementKind :: Commit => vec ! [ PlanKind :: CommitTransaction ] ,
171
- StatementKind :: Copy => vec ! [ PlanKind :: CopyFrom , PlanKind :: Peek , PlanKind :: SendDiffs ] ,
171
+ StatementKind :: Copy => vec ! [
172
+ PlanKind :: CopyFrom ,
173
+ PlanKind :: Peek ,
174
+ PlanKind :: SendDiffs ,
175
+ PlanKind :: Tail ,
176
+ ] ,
172
177
StatementKind :: CreateCluster => vec ! [ PlanKind :: CreateComputeInstance ] ,
173
178
StatementKind :: CreateClusterReplica => vec ! [ PlanKind :: CreateComputeInstanceReplica ] ,
174
179
StatementKind :: CreateConnection => vec ! [ PlanKind :: CreateConnection ] ,
@@ -207,6 +212,7 @@ impl Plan {
207
212
StatementKind :: SetVariable => vec ! [ PlanKind :: SetVariable ] ,
208
213
StatementKind :: Show => vec ! [
209
214
PlanKind :: Peek ,
215
+ PlanKind :: SendRows ,
210
216
PlanKind :: ShowVariable ,
211
217
PlanKind :: ShowAllVariables ,
212
218
] ,
0 commit comments