42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
install plugin mysqlx soname "mysqlx.so";
|
|
call mtr.add_suppression("Plugin mysqlx reported: .Failed at SSL configuration: .SSL context is not usable without certificate and private key..");
|
|
call mtr.add_suppression("Plugin mysqlx reported: .SSL_CTX_load_verify_locations failed.");
|
|
CREATE TABLE x(id INT);
|
|
connecting...
|
|
active session is now 'con1'
|
|
connecting...
|
|
active session is now 'con2'
|
|
switched to session con1
|
|
RUN SET DEBUG_SYNC= 'bgc_after_enrolling_for_sync_stage SIGNAL opened WAIT_FOR xxxx_new'
|
|
|
|
0 rows affected
|
|
send Mysqlx.Sql.StmtExecute {
|
|
stmt: "INSERT INTO x(id) VALUES(2);"
|
|
namespace: "sql"
|
|
}
|
|
|
|
switched to session con2
|
|
RUN SET DEBUG_SYNC= 'bgc_after_enrolling_for_sync_stage SIGNAL xxxx_new'
|
|
|
|
0 rows affected
|
|
send Mysqlx.Sql.StmtExecute {
|
|
stmt: "INSERT INTO x(id) VALUES(2);"
|
|
namespace: "sql"
|
|
}
|
|
|
|
|
|
1 rows affected
|
|
switched to session con1
|
|
|
|
1 rows affected
|
|
closing session con1
|
|
Mysqlx.Ok {
|
|
msg: "bye!"
|
|
}
|
|
ok
|
|
SHOW PROCESSLIST;
|
|
Id User Host db Command Time State Info
|
|
<ID> root <HOST_NAME> test Query <TIME> STATE SHOW PROCESSLIST
|
|
DROP TABLE x;
|
|
UNINSTALL PLUGIN mysqlx;
|