Skip to content

Commit

Permalink
Add simple wildcard support for deleting from multiple tables in
Browse files Browse the repository at this point in the history
unsharded keyspaces

Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
  • Loading branch information
saifalharthi committed Jun 27, 2019
1 parent 84a36ab commit 3aa9e52
Show file tree
Hide file tree
Showing 4 changed files with 2,834 additions and 2,634 deletions.
3 changes: 3 additions & 0 deletions go/vt/sqlparser/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1434,6 +1434,9 @@ var (
}, {
input: "drop database if exists test_db",
output: "drop database test_db",
}, {
input: "delete a.*, b.* from tbl_a a, tbl_b b where a.id = b.id and b.name = 'test'",
output: "delete a, b from tbl_a as a, tbl_b as b where a.id = b.id and b.name = 'test'",
}}
)

Expand Down
Loading

0 comments on commit 3aa9e52

Please sign in to comment.