mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
more sys_var_str fixes
mysql-test/r/variables.result: more tests mysql-test/t/variables.test: more tests sql/set_var.cc: don't crash on NULL
This commit is contained in:
@@ -384,6 +384,15 @@ select @@session.key_buffer_size;
|
||||
ERROR HY000: Variable 'key_buffer_size' is a GLOBAL variable
|
||||
set ft_boolean_syntax = @@init_connect;
|
||||
ERROR HY000: Variable 'ft_boolean_syntax' is a GLOBAL variable and should be set with SET GLOBAL
|
||||
set global ft_boolean_syntax = @@init_connect;
|
||||
ERROR 42000: Variable 'ft_boolean_syntax' can't be set to the value of ''
|
||||
set init_connect = NULL;
|
||||
ERROR HY000: Variable 'init_connect' is a GLOBAL variable and should be set with SET GLOBAL
|
||||
set global init_connect = NULL;
|
||||
set ft_boolean_syntax = @@init_connect;
|
||||
ERROR HY000: Variable 'ft_boolean_syntax' is a GLOBAL variable and should be set with SET GLOBAL
|
||||
set global ft_boolean_syntax = @@init_connect;
|
||||
ERROR 42000: Variable 'ft_boolean_syntax' can't be set to the value of ''
|
||||
select @@global.max_user_connections,@@local.max_join_size;
|
||||
@@global.max_user_connections @@session.max_join_size
|
||||
100 200
|
||||
|
||||
Reference in New Issue
Block a user