diff options
author | unknown <serg@serg.mylan> | 2004-03-20 17:08:01 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-03-20 17:08:01 +0100 |
commit | 81836c8ec37eb47b630563f0d75caf9964928c9f (patch) | |
tree | f0790f4062189e28598ffaa8e38beab1452edfec /mysql-test/r/variables.result | |
parent | 1f08d0b4bdfd85f8bea89cf1a2c729558ab69aad (diff) | |
download | mariadb-git-81836c8ec37eb47b630563f0d75caf9964928c9f.tar.gz |
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
Diffstat (limited to 'mysql-test/r/variables.result')
-rw-r--r-- | mysql-test/r/variables.result | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/variables.result b/mysql-test/r/variables.result index 39d83f8b815..8934cd705b6 100644 --- a/mysql-test/r/variables.result +++ b/mysql-test/r/variables.result @@ -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 |