mirror of
https://github.com/MariaDB/server.git
synced 2025-11-05 01:43:31 +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:
@@ -23,15 +23,51 @@ SQL_LOG_UPDATE ON
|
||||
set global sql_log_update=1;
|
||||
Warnings:
|
||||
Note 1315 The update log is deprecated and replaced by the binary log; SET SQL_LOG_UPDATE has been ignored
|
||||
select @@global.sql_log_update;
|
||||
@@global.sql_log_update
|
||||
1
|
||||
set session sql_log_update=ON;
|
||||
Warnings:
|
||||
Note 1315 The update log is deprecated and replaced by the binary log; SET SQL_LOG_UPDATE has been ignored
|
||||
select @@global.sql_log_update;
|
||||
@@global.sql_log_update
|
||||
1
|
||||
select @@session.sql_log_update;
|
||||
@@session.sql_log_update
|
||||
1
|
||||
show global variables like 'sql_log_update';
|
||||
Variable_name Value
|
||||
sql_log_update ON
|
||||
show session variables like 'sql_log_update';
|
||||
Variable_name Value
|
||||
sql_log_update ON
|
||||
select * from information_schema.global_variables where variable_name='sql_log_update';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
SQL_LOG_UPDATE ON
|
||||
select * from information_schema.session_variables where variable_name='sql_log_update';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
SQL_LOG_UPDATE ON
|
||||
set global sql_log_update=0;
|
||||
Warnings:
|
||||
Note 1315 The update log is deprecated and replaced by the binary log; SET SQL_LOG_UPDATE has been ignored
|
||||
set session sql_log_update=OFF;
|
||||
Warnings:
|
||||
Note 1315 The update log is deprecated and replaced by the binary log; SET SQL_LOG_UPDATE has been ignored
|
||||
select @@global.sql_log_update;
|
||||
@@global.sql_log_update
|
||||
0
|
||||
select @@session.sql_log_update;
|
||||
@@session.sql_log_update
|
||||
0
|
||||
show global variables like 'sql_log_update';
|
||||
Variable_name Value
|
||||
sql_log_update OFF
|
||||
show session variables like 'sql_log_update';
|
||||
Variable_name Value
|
||||
sql_log_update OFF
|
||||
select * from information_schema.global_variables where variable_name='sql_log_update';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
SQL_LOG_UPDATE OFF
|
||||
select * from information_schema.session_variables where variable_name='sql_log_update';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
SQL_LOG_UPDATE OFF
|
||||
set global sql_log_update=1.1;
|
||||
ERROR 42000: Incorrect argument type to variable 'sql_log_update'
|
||||
set global sql_log_update=1e1;
|
||||
|
||||
Reference in New Issue
Block a user