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'
|
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 10.3 [ 22126 ] | |
Assignee | Andrei Elkin [ elkin ] |
Assignee | Andrei Elkin [ elkin ] | Sachin Setiya [ sachin.setiya.007 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Sachin Setiya [ sachin.setiya.007 ] | Andrei Elkin [ elkin ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Fix Version/s | 10.0.38 [ 23211 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Assignee | Andrei Elkin [ elkin ] | Sachin Setiya [ sachin.setiya.007 ] |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10002 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 90644 ] | MariaDB v4 [ 155206 ] |
Zendesk Related Tickets | 121269 |
HI Elkin , please review the patch for this bug , it is in bb-10.0-17720 branch