Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.3.10
-
Fix Version/s: 10.0.38
-
Component/s: Replication
-
Labels: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'
|