| 1 |
CREATE TABLE x(id INT); |
| 2 |
connecting... |
| 3 |
active session is now 'con1' |
| 4 |
connecting... |
| 5 |
active session is now 'con2' |
| 6 |
switched to session con1 |
| 7 |
RUN SET DEBUG_SYNC= 'bgc_after_enrolling_for_sync_stage SIGNAL opened WAIT_FOR xxxx_new' |
| 8 |
|
| 9 |
0 rows affected |
| 10 |
send Mysqlx.Sql.StmtExecute { |
| 11 |
stmt: "INSERT INTO x(id) VALUES(2);" |
| 12 |
namespace: "sql" |
| 13 |
} |
| 14 |
|
| 15 |
switched to session con2 |
| 16 |
RUN SET DEBUG_SYNC= 'bgc_after_enrolling_for_sync_stage SIGNAL xxxx_new' |
| 17 |
|
| 18 |
0 rows affected |
| 19 |
send Mysqlx.Sql.StmtExecute { |
| 20 |
stmt: "INSERT INTO x(id) VALUES(2);" |
| 21 |
namespace: "sql" |
| 22 |
} |
| 23 |
|
| 24 |
|
| 25 |
1 rows affected |
| 26 |
switched to session con1 |
| 27 |
|
| 28 |
1 rows affected |
| 29 |
closing session con1 |
| 30 |
Mysqlx.Ok { |
| 31 |
msg: "bye!" |
| 32 |
} |
| 33 |
ok |
| 34 |
SHOW PROCESSLIST; |
| 35 |
Id User Host db Command Time State Info |
| 36 |
<ID> 1287 <HOST_NAME> |
| 37 |
<ID> event_scheduler <HOST_NAME> NULL Daemon <TIME> Waiting on empty queue NULL |
| 38 |
<ID> root <HOST_NAME> test Query <TIME> STATE SHOW PROCESSLIST |
| 39 |
Warnings: |
| 40 |
DROP TABLE x; |