You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mysql-test/r/mysqltest_tracking_info.result
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
set @save_session_track_system_variables=@@session_track_system_variables;
1
2
SELECT @@session.character_set_connection;
2
3
@@session.character_set_connection
3
4
latin1
@@ -28,4 +29,19 @@ SET NAMES 'utf8';
28
29
29
30
# tracking info off once
30
31
SET NAMES 'big5';
31
-
SET @@session.session_track_system_variables= default;
32
+
SET @@session.session_track_system_variables= @save_session_track_system_variables;
33
+
#
34
+
# MDEV-22504: session tracking return incorrectly long traking data
35
+
#
36
+
set @save_optimizer_switch=@@optimizer_switch;
37
+
SET @@session.session_track_system_variables='optimizer_switch';
38
+
set optimizer_switch='index_merge=off,index_merge_union=off,index_merge_sort_union=off,index_merge_intersection=off,index_merge_sort_intersection=on,engine_condition_pushdown=on,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=on,mrr_cost_based=on,mrr_sort_keys=on,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=on,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off';
0 commit comments