1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-36405 Session tracking does not report changes from COM_CHANGE_USER

report all sysvar tracker changes, as for the new login.
also report db and other session state changes.
This commit is contained in:
Sergei Golubchik
2025-04-25 17:45:59 +02:00
parent 07de0ac69e
commit 26ea37be5d
9 changed files with 63 additions and 5 deletions

View File

@@ -1153,7 +1153,6 @@ static bool login_connection(THD *thd)
my_net_set_write_timeout(net, connect_timeout);
error= check_connection(thd);
thd->session_tracker.sysvars.mark_all_as_changed(thd);
thd->protocol->end_statement();
if (unlikely(error))