| 1 |
SET GLOBAL mysqlx_connect_timeout = 300; |
| 2 |
SET GLOBAL mysqlx_wait_timeout = 300; |
| 3 |
## 1. Trigger disconnection in middle of X Message |
| 4 |
# |
| 5 |
## Send the message, without MSG_BODY_FIELD2 |
| 6 |
# |
| 7 |
Sending 11 bytes raw data... |
| 8 |
## Drop the connection in middle of the message |
| 9 |
# |
| 10 |
ok |
| 11 |
## 2. Verify that no StmtExecute was handled |
| 12 |
# |
| 13 |
# |
| 14 |
# Wait until the session is dropped |
| 15 |
# |
| 16 |
# After that verify that non of StmtExecutes was processed |
| 17 |
# |
| 18 |
# Syncing with status [ 'Mysqlx_stmt_execute_sql' == 0 ] |
| 19 |
# Syncing with status [ 'Mysqlx_stmt_execute_mysqlx' == 0 ] |
| 20 |
# Syncing with status [ 'Mysqlx_stmt_execute_xplugin' == 0 ] |
| 21 |
SET GLOBAL mysqlx_connect_timeout= DEFAULT; |
| 22 |
SET GLOBAL mysqlx_wait_timeout = DEFAULT; |