Skip to content

Commit 3cf97fc

Browse files
Merge pull request #7 from stackql/feature/discriminate-table-drop
discriminate-table-drop
2 parents 091a1ad + 0667393 commit 3cf97fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

go/vt/sqlparser/sql.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/vt/sqlparser/sql.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1740,7 +1740,7 @@ drop_statement:
17401740
if $3 != 0 {
17411741
exists = true
17421742
}
1743-
$$ = &DDL{Action: DropStr, FromTables: $4, IfExists: exists}
1743+
$$ = &DDL{Action: DropStr, FromTables: $4, IfExists: exists, Modifier: "table"}
17441744
}
17451745
| DROP INDEX id_or_var ON table_name ddl_skip_to_end
17461746
{

0 commit comments

Comments
 (0)