103 lines
1.8 KiB
Plaintext
103 lines
1.8 KiB
Plaintext
# restart
|
|
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.");
|
|
call mtr.add_suppression("Plugin mysqlx reported: '1.1: Unhandled message of type 12'");
|
|
call mtr.add_suppression("Plugin mysqlx reported: '2.1: Unhandled message of type 12'");
|
|
select sleep(1);
|
|
sleep(1)
|
|
0
|
|
SELECT `user`,`host`,`db`,`command`,`state`,`info` FROM INFORMATION_SCHEMA.PROCESSLIST WHERE `state` != 'cleaning up';
|
|
user host db command state info
|
|
root localhost test Query executing SELECT `user`,`host`,`db`,`command`,`state`,`info` FROM INFORMATION_SCHEMA.PROCESSLIST WHERE `state` != 'cleaning up'
|
|
send Mysqlx.Session.Reset {
|
|
}
|
|
|
|
Mysqlx.Ok {
|
|
}
|
|
|
|
Login OK
|
|
send Mysqlx.Sql.StmtExecute {
|
|
stmt: "select 1.1"
|
|
}
|
|
|
|
1.1
|
|
1.1
|
|
0 rows affected
|
|
send Mysqlx.Sql.StmtExecute {
|
|
stmt: "select 2.1"
|
|
}
|
|
|
|
send Mysqlx.Sql.StmtExecute {
|
|
stmt: "select 2.2"
|
|
}
|
|
|
|
send Mysqlx.Session.Reset {
|
|
}
|
|
|
|
2.1
|
|
2.1
|
|
0 rows affected
|
|
2.2
|
|
2.2
|
|
0 rows affected
|
|
Mysqlx.Ok {
|
|
}
|
|
|
|
Login OK
|
|
send Mysqlx.Session.Reset {
|
|
}
|
|
|
|
Mysqlx.Ok {
|
|
}
|
|
|
|
send Mysqlx.Sql.StmtExecute {
|
|
stmt: "select 3.1"
|
|
}
|
|
|
|
Mysqlx.Error {
|
|
severity: FATAL
|
|
code: 5000
|
|
msg: "Invalid message"
|
|
sql_state: "HY000"
|
|
}
|
|
|
|
connecting...
|
|
active session is now 'foo'
|
|
RUN set @secret = 12345
|
|
|
|
0 rows affected
|
|
send Mysqlx.Session.Reset {
|
|
}
|
|
|
|
Mysqlx.Ok {
|
|
}
|
|
|
|
Login OK
|
|
RUN select IF(@secret is NULL, 'OK', 'FAIL')
|
|
IF(@secret is NULL, 'OK', 'FAIL')
|
|
OK
|
|
0 rows affected
|
|
closing session foo
|
|
Mysqlx.Ok {
|
|
msg: "bye!"
|
|
}
|
|
switched to session default
|
|
ok
|
|
Sending 39 bytes raw data...
|
|
2.1
|
|
2.1
|
|
0 rows affected
|
|
Mysqlx.Ok {
|
|
}
|
|
|
|
Mysqlx.Error {
|
|
severity: FATAL
|
|
code: 5000
|
|
msg: "Invalid message"
|
|
sql_state: "HY000"
|
|
}
|
|
|
|
ok
|
|
uninstall plugin mysqlx;
|