mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
MDEV-22134: handle_fatal_signal (sig=11) in __strlen_avx2 on START SLAVE | Assertion `global_system_variables.session_track_system_variables' failed in Session_sysvars_tracker::init | *** buffer overflow detected *** (on optimized builds)
Prohibit assigning NULL as for other system variables.
This commit is contained in:
parent
c86accc7ac
commit
0ec641ea1e
5 changed files with 38 additions and 14 deletions
|
|
@ -110,15 +110,9 @@ autocommit,character_set_client,character_set_connection,character_set_results,t
|
|||
connection default;
|
||||
# Testing NULL
|
||||
SET @@global.session_track_system_variables = NULL;
|
||||
ERROR 42000: Variable 'session_track_system_variables' can't be set to the value of 'NULL'
|
||||
SET @@session.session_track_system_variables = NULL;
|
||||
# Global - expect "" instead of NULL
|
||||
SELECT @@global.session_track_system_variables;
|
||||
@@global.session_track_system_variables
|
||||
NULL
|
||||
# Session - expect "" instead of NULL
|
||||
SELECT @@session.session_track_system_variables;
|
||||
@@session.session_track_system_variables
|
||||
|
||||
ERROR 42000: Variable 'session_track_system_variables' can't be set to the value of 'NULL'
|
||||
# testing with duplicate entries.
|
||||
SET @@global.session_track_system_variables= "time_zone";
|
||||
SET @@session.session_track_system_variables= "time_zone";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue