mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Modified and added tests following review of WL#4738.
- Added tests for innodb and semisync plugin - Modified existing tests to include variable values in I_S tables - Updated the all_vars test to include optional checkes for INNODB and semisync plugin if loaded
This commit is contained in:
@ -2,6 +2,9 @@
|
||||
#
|
||||
# exists as a session only
|
||||
#
|
||||
#
|
||||
# 2010-01-20 OBN - Added check for I_S value after variable value change
|
||||
#
|
||||
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
||||
select @@global.rand_seed2;
|
||||
select @@session.rand_seed2;
|
||||
@ -11,10 +14,12 @@ select * from information_schema.global_variables where variable_name='rand_seed
|
||||
select * from information_schema.session_variables where variable_name='rand_seed2';
|
||||
|
||||
#
|
||||
# show that it's writable
|
||||
# show that it's writable (note value can be set but not read - returned value is zero)
|
||||
#
|
||||
set session rand_seed2=1;
|
||||
select @@session.rand_seed2;
|
||||
select * from information_schema.global_variables where variable_name='rand_seed2';
|
||||
select * from information_schema.session_variables where variable_name='rand_seed2';
|
||||
--error ER_LOCAL_VARIABLE
|
||||
set global rand_seed2=1;
|
||||
|
||||
|
Reference in New Issue
Block a user