mirror of
https://github.com/MariaDB/server.git
synced 2025-12-04 17:23:46 +03:00
68 lines
3.4 KiB
Plaintext
68 lines
3.4 KiB
Plaintext
set @save_session_track_system_variables=@@session_track_system_variables;
|
|
SELECT @@session.character_set_connection;
|
|
@@session.character_set_connection
|
|
latin1
|
|
SET @@session.session_track_system_variables='character_set_connection';
|
|
# tracking info on
|
|
SET NAMES 'utf8';
|
|
-- Tracker : SESSION_TRACK_SYSTEM_VARIABLES
|
|
-- character_set_connection
|
|
-- utf8
|
|
|
|
SET NAMES 'big5';
|
|
-- Tracker : SESSION_TRACK_SYSTEM_VARIABLES
|
|
-- character_set_connection
|
|
-- big5
|
|
|
|
# tracking info on once
|
|
SET NAMES 'utf8';
|
|
-- Tracker : SESSION_TRACK_SYSTEM_VARIABLES
|
|
-- character_set_connection
|
|
-- utf8
|
|
|
|
SET NAMES 'big5';
|
|
# tracking info on
|
|
SET NAMES 'utf8';
|
|
-- Tracker : SESSION_TRACK_SYSTEM_VARIABLES
|
|
-- character_set_connection
|
|
-- utf8
|
|
|
|
# tracking info off once
|
|
SET NAMES 'big5';
|
|
SET @@session.session_track_system_variables= @save_session_track_system_variables;
|
|
#
|
|
# MDEV-22504: session tracking return incorrectly long traking data
|
|
#
|
|
set @save_optimizer_switch=@@optimizer_switch;
|
|
SET @@session.session_track_system_variables='optimizer_switch';
|
|
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';
|
|
-- Tracker : SESSION_TRACK_SYSTEM_VARIABLES
|
|
-- 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,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off
|
|
|
|
Warnings:
|
|
Warning 1681 'engine_condition_pushdown=on' is deprecated and will be removed in a future release
|
|
set @@optimizer_switch=@save_optimizer_switch;
|
|
SET @@session.session_track_system_variables= @save_session_track_system_variables;
|
|
# End of 10.2 tests
|
|
#
|
|
# MDEV-16470 - Session user variables tracker
|
|
#
|
|
SET @@session.session_track_user_variables=1;
|
|
SET @a=1;
|
|
SET @b=NULL;
|
|
SELECT @c:=10;
|
|
@c:=10
|
|
10
|
|
SET @@session.session_track_user_variables=0;
|
|
#
|
|
# mdev-22337 Assertion `Alloced_length >= (str_length + length +
|
|
net_length_size(length))' failed in Binary_string::q_net_store_data
|
|
on long MULTIPOLYGON query with session_track_user_variables=1
|
|
(optimized builds)
|
|
#
|
|
set @@session.session_track_user_variables=1;
|
|
set @a=repeat('X', 1029);
|
|
set @@session.session_track_user_variables=0;
|
|
# End of 10.5 tests
|