mirror of
https://github.com/MariaDB/server.git
synced 2025-09-06 19:08:06 +03:00
Cleanup session tracker
- call current_schema::mark_as_changed() directly - call state_change::mark_as_changed() directly - replaced SESSION_TRACKER_CHANGED with dummy tracker - replaced Session_tracker::mark_as_changed() with State_tracker::mark_as_changed() - hide and devirtualize original State_tracker::mark_as_changed(), rename it to set_changed() - all implementations of mark_as_changed() now check is_enabled() for consistency - no argument casts anymore
This commit is contained in:
@@ -10180,7 +10180,7 @@ do_continue:;
|
||||
if (table->s->tmp_table != NO_TMP_TABLE)
|
||||
{
|
||||
/* in case of alter temp table send the tracker in OK packet */
|
||||
SESSION_TRACKER_CHANGED(thd, SESSION_STATE_CHANGE_TRACKER, NULL);
|
||||
thd->session_tracker.state_change.mark_as_changed(thd);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -11481,7 +11481,7 @@ bool Sql_cmd_create_table_like::execute(THD *thd)
|
||||
ON then send session state notification in OK packet */
|
||||
if (create_info.options & HA_LEX_CREATE_TMP_TABLE)
|
||||
{
|
||||
SESSION_TRACKER_CHANGED(thd, SESSION_STATE_CHANGE_TRACKER, NULL);
|
||||
thd->session_tracker.state_change.mark_as_changed(thd);
|
||||
}
|
||||
my_ok(thd);
|
||||
}
|
||||
|
Reference in New Issue
Block a user