'#---------------------BS_STVARS_002_01----------------------#'
SET @start_value= @@global.log_bin_use_v1_row_events;
SELECT @start_value;
@start_value
0
SELECT COUNT(@@GLOBAL.log_bin_use_v1_row_events);
COUNT(@@GLOBAL.log_bin_use_v1_row_events)
1
1 Expected
'#---------------------BS_STVARS_002_02----------------------#'
SET @@global.log_bin_use_v1_row_events = TRUE;
SET @@global.log_bin_use_v1_row_events = DEFAULT;
SELECT @@global.log_bin_use_v1_row_events;
@@global.log_bin_use_v1_row_events
0
SET @@global.log_bin_use_v1_row_events = ON;
SELECT @@global.log_bin_use_v1_row_events;
@@global.log_bin_use_v1_row_events
1
SET @@global.log_bin_use_v1_row_events = OFF;
SELECT @@global.log_bin_use_v1_row_events;
@@global.log_bin_use_v1_row_events
0
SET @@global.log_bin_use_v1_row_events = 1;
SELECT @@global.log_bin_use_v1_row_events;
@@global.log_bin_use_v1_row_events
1
SET @@global.log_bin_use_v1_row_events = 0;
SELECT @@global.log_bin_use_v1_row_events;
@@global.log_bin_use_v1_row_events
0
SET @@global.log_bin_use_v1_row_events = TRUE;
SELECT @@global.log_bin_use_v1_row_events;
@@global.log_bin_use_v1_row_events
1
SET @@global.log_bin_use_v1_row_events = FALSE;
SELECT @@global.log_bin_use_v1_row_events;
@@global.log_bin_use_v1_row_events
0
'#-------------------FN_DYNVARS_063_04----------------------------#'
SET @@session.log_bin_use_v1_row_events = 0;
ERROR HY000: Variable 'log_bin_use_v1_row_events' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@session.log_bin_use_v1_row_events;
ERROR HY000: Variable 'log_bin_use_v1_row_events' is a GLOBAL variable
'#---------------------BS_STVARS_002_03----------------------#'
SELECT IF(@@GLOBAL.log_bin_use_v1_row_events, "ON", "OFF") = VARIABLE_VALUE
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='log_bin_use_v1_row_events';
IF(@@GLOBAL.log_bin_use_v1_row_events, "ON", "OFF") = VARIABLE_VALUE
1
1 Expected
SELECT COUNT(@@GLOBAL.log_bin_use_v1_row_events);
COUNT(@@GLOBAL.log_bin_use_v1_row_events)
1
1 Expected
SELECT COUNT(VARIABLE_VALUE)
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
WHERE VARIABLE_NAME='log_bin_use_v1_row_events';
COUNT(VARIABLE_VALUE)
1
1 Expected
'#---------------------BS_STVARS_002_05----------------------#'
SELECT COUNT(@@log_bin_use_v1_row_events);
COUNT(@@log_bin_use_v1_row_events)
1
1 Expected
SELECT COUNT(@@GLOBAL.log_bin_use_v1_row_events);
COUNT(@@GLOBAL.log_bin_use_v1_row_events)
1
1 Expected
SET @@global.log_bin_use_v1_row_events= @start_value;
