Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.3.10
-
None
Description
With slave_ddl_exec_mode=IDEMPOTENT a DROP TABLE ... gets rewritten to DROP TABLE IF EXISTS ... before being executed on a slave, so it does not fail if the table is missing on the salve side.
A DROP DATABASE ... on the other hand does not get rewritten, and so leads to
Last_SQL_Errno: 1008
|
Last_SQL_Error: Error 'Can't drop database 'test23'; database doesn't exist' on query.
|
Default database: 'test23'. Query: 'drop database test23'
|