---
- test: "mysql -e DROP DATABASE test"
description: "executing DROP commands via mysql CLI"
expect_ids: ["database:drop_database", "mysql:drop"]
- test: "mysql -e DROP TABLE orders"
description: "mysql DROP TABLE with extra space still matches"
expect_ids: ["database:drop_table", "mysql:drop"]
- test: "mysql -e SELECT * FROM users"
description: "mysql SELECT should not trigger drop check"
expect_ids: []
- test: "mysql -u root -p -e 'DROP DATABASE test'"
description: "user and password flags before -e"
expect_ids: ["database:drop_database", "mysql:drop"]
- test: "mysql --execute 'DROP TABLE users'"
description: "BUG: --execute long form not matched"
expect_ids: ["database:drop_table"]