1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-9058: protocol: COM_MULTI command (part 3)

Support of "previuousely used statement ID".
All IDs with highest bit ON reserved for special use.
This commit is contained in:
Oleksandr Byelkin
2016-01-07 16:00:02 +01:00
parent fd1b7d0f59
commit 2f7b6c5751
6 changed files with 30 additions and 5 deletions

View File

@ -1426,6 +1426,7 @@ void THD::init(void)
bzero((char *) &org_status_var, sizeof(org_status_var));
start_bytes_received= 0;
last_commit_gtid.seq_no= 0;
last_stmt= NULL;
status_in_global= 0;
#ifdef WITH_WSREP
wsrep_exec_mode= wsrep_applier ? REPL_RECV : LOCAL_STATE;