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:
@ -1,3 +1,8 @@
|
||||
|
||||
#
|
||||
# 2010-01-20 OBN - Added check for I_S values after variable value change
|
||||
#
|
||||
|
||||
--source include/have_profiling.inc
|
||||
|
||||
SET @start_global_value = @@global.profiling;
|
||||
@ -17,9 +22,21 @@ select * from information_schema.session_variables where variable_name='profilin
|
||||
# show that it's writable
|
||||
#
|
||||
set global profiling=1;
|
||||
select @@global.profiling;
|
||||
set session profiling=ON;
|
||||
select @@global.profiling;
|
||||
select @@session.profiling;
|
||||
show global variables like 'profiling';
|
||||
show session variables like 'profiling';
|
||||
select * from information_schema.global_variables where variable_name='profiling';
|
||||
select * from information_schema.session_variables where variable_name='profiling';
|
||||
set global profiling=0;
|
||||
set session profiling=OFF;
|
||||
select @@global.profiling;
|
||||
select @@session.profiling;
|
||||
show global variables like 'profiling';
|
||||
show session variables like 'profiling';
|
||||
select * from information_schema.global_variables where variable_name='profiling';
|
||||
select * from information_schema.session_variables where variable_name='profiling';
|
||||
|
||||
#
|
||||
# incorrect types
|
||||
|
Reference in New Issue
Block a user