1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

cleanup: remove thd->stmt_changes_data

what is done in the plugin - stays in the plugin
This commit is contained in:
Sergei Golubchik
2024-05-07 20:38:34 +02:00
parent 3781848bca
commit 869e67c92f
5 changed files with 5 additions and 11 deletions

View File

@ -3515,8 +3515,6 @@ mysql_execute_command(THD *thd, bool is_called_from_prepared_stmt)
like mysql_audit_plugin.
*/
thd->last_sql_command= lex->sql_command;
thd->stmt_changes_data|= (sql_command_flags[lex->sql_command] &
CF_CHANGES_DATA);
/*
Reset warning count for each query that uses tables