| 1 |
## Clone DDL lock timeout |
| 2 |
|
| 3 |
--connection con1 |
| 4 |
--echo # In connection CON1 |
| 5 |
|
| 6 |
SET DEBUG_SYNC = 'clone_notify_ddl SIGNAL resume_clone WAIT_FOR resume_ddl'; |
| 7 |
--send_eval $ddl_text |
| 8 |
|
| 9 |
--connection default |
| 10 |
--echo # In connection DEFAULT |
| 11 |
SET DEBUG_SYNC = 'now WAIT_FOR resume_clone'; |
| 12 |
|
| 13 |
--let $clone_err = ER_LOCK_WAIT_TIMEOUT |
| 14 |
--let $clone_remote_err = ER_CLONE_DONOR |
| 15 |
--source ../include/clone_command.inc |
| 16 |
--let $clone_err = 0 |
| 17 |
--let $clone_remote_err = 0 |
| 18 |
|
| 19 |
SET DEBUG_SYNC = 'now SIGNAL resume_ddl'; |
| 20 |
|
| 21 |
--connection con1 |
| 22 |
--echo # In connection CON1 |
| 23 |
--reap |
| 24 |
|
| 25 |
--connection default |
| 26 |
--echo # In connection DEFAULT |