mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-8931: (server part of) session state tracking
initial commit to test
This commit is contained in:
@ -55,6 +55,7 @@
|
||||
#include "transaction.h"
|
||||
#include "sql_audit.h"
|
||||
|
||||
|
||||
#ifdef __WIN__
|
||||
#include <io.h>
|
||||
#endif
|
||||
@ -9228,6 +9229,9 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
|
||||
{
|
||||
goto err_new_table_cleanup;
|
||||
}
|
||||
/* in case of alter temp table send the tracker in OK packet */
|
||||
thd->session_tracker.mark_as_changed(thd, SESSION_STATE_CHANGE_TRACKER,
|
||||
NULL);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user