mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
f5c3ad1913
Based on contribution by Dapeng Huang.
36 lines
905 B
Text
36 lines
905 B
Text
|
|
--source include/no_protocol.inc
|
|
--source include/not_embedded.inc
|
|
|
|
SELECT @@session.character_set_connection;
|
|
SET @@session.session_track_system_variables='character_set_connection';
|
|
|
|
--echo # tracking info on
|
|
--enable_session_track_info
|
|
SET NAMES 'utf8';
|
|
SET NAMES 'big5';
|
|
--disable_session_track_info
|
|
--echo # tracking info on once
|
|
--enable_session_track_info ONCE
|
|
SET NAMES 'utf8';
|
|
SET NAMES 'big5';
|
|
--echo # tracking info on
|
|
--enable_session_track_info
|
|
SET NAMES 'utf8';
|
|
--echo # tracking info off once
|
|
--disable_session_track_info ONCE
|
|
SET NAMES 'big5';
|
|
--disable_session_track_info
|
|
|
|
SET @@session.session_track_system_variables= default;
|
|
|
|
--echo #
|
|
--echo # MDEV-16470 - Session user variables tracker
|
|
--echo #
|
|
SET @@session.session_track_user_variables=1;
|
|
--enable_session_track_info
|
|
SET @a=1;
|
|
SET @b=NULL;
|
|
SELECT @c:=10;
|
|
--disable_session_track_info
|
|
SET @@session.session_track_user_variables=0;
|