GIF89a; Mini Shell

Mini Shell

Direktori : /usr/share/mysql-test/suite/sys_vars/r/
Upload File :
Current File : //usr/share/mysql-test/suite/sys_vars/r/slave_allow_batching_basic.result

SET @global_start_value = @@global.slave_allow_batching;
SELECT @global_start_value;
@global_start_value
0
'#--------------------FN_DYNVARS_145_01------------------------#'
SET @@global.slave_allow_batching = 1;
SET @@global.slave_allow_batching = DEFAULT;
SELECT @@global.slave_allow_batching;
@@global.slave_allow_batching
0
'#---------------------FN_DYNVARS_145_02-------------------------#'
SET slave_allow_batching = 1;
ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@slave_allow_batching;
@@slave_allow_batching
0
SELECT global.slave_allow_batching;
ERROR 42S02: Unknown table 'global' in field list
SET global slave_allow_batching = 1;
SELECT @@global.slave_allow_batching;
@@global.slave_allow_batching
1
'#--------------------FN_DYNVARS_145_03------------------------#'
SET @@global.slave_allow_batching = 0;
SELECT @@global.slave_allow_batching;
@@global.slave_allow_batching
0
SET @@global.slave_allow_batching = 1;
SELECT @@global.slave_allow_batching;
@@global.slave_allow_batching
1
'#--------------------FN_DYNVARS_145_04-------------------------#'
SET @@global.slave_allow_batching = -1;
ERROR 42000: Variable 'slave_allow_batching' can't be set to the value of '-1'
SET @@global.slave_allow_batching = 2;
ERROR 42000: Variable 'slave_allow_batching' can't be set to the value of '2'
SET @@global.slave_allow_batching = "T";
ERROR 42000: Variable 'slave_allow_batching' can't be set to the value of 'T'
SET @@global.slave_allow_batching = "Y";
ERROR 42000: Variable 'slave_allow_batching' can't be set to the value of 'Y'
SET @@global.slave_allow_batching = YES;
ERROR 42000: Variable 'slave_allow_batching' can't be set to the value of 'YES'
SET @@global.slave_allow_batching = ONN;
ERROR 42000: Variable 'slave_allow_batching' can't be set to the value of 'ONN'
SET @@global.slave_allow_batching = OOF;
ERROR 42000: Variable 'slave_allow_batching' can't be set to the value of 'OOF'
SET @@global.slave_allow_batching = 0FF;
ERROR 42000: Variable 'slave_allow_batching' can't be set to the value of '0FF'
SET @@global.slave_allow_batching = ' 1';
ERROR 42000: Variable 'slave_allow_batching' can't be set to the value of ' 1'
SET @@global.slave_allow_batching = NO;
ERROR 42000: Variable 'slave_allow_batching' can't be set to the value of 'NO'
'#-------------------FN_DYNVARS_145_05----------------------------#'
SET @@session.slave_allow_batching = 0;
ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
SET @@slave_allow_batching = 0;
ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
SET @@local.slave_allow_batching = 0;
ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable and should be set with SET GLOBAL
SELECT @@session.slave_allow_batching;
ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable
SELECT @@local.slave_allow_batching;
ERROR HY000: Variable 'slave_allow_batching' is a GLOBAL variable
'#----------------------FN_DYNVARS_145_06------------------------#'
SELECT count(VARIABLE_VALUE) FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='slave_allow_batching';
count(VARIABLE_VALUE)
1
'#----------------------FN_DYNVARS_145_07------------------------#'
SELECT @@global.slave_allow_batching = VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='slave_allow_batching';
@@global.slave_allow_batching = VARIABLE_VALUE
0
Warnings:
Warning	1292	Truncated incorrect DOUBLE value: 'ON'
SELECT @@global.slave_allow_batching;
@@global.slave_allow_batching
1
SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='slave_allow_batching';
VARIABLE_VALUE
ON
'#---------------------FN_DYNVARS_145_08-------------------------#'
SET @@global.slave_allow_batching = OFF;
SELECT @@global.slave_allow_batching;
@@global.slave_allow_batching
0
SET @@global.slave_allow_batching = ON;
SELECT @@global.slave_allow_batching;
@@global.slave_allow_batching
1
'#---------------------FN_DYNVARS_145_09----------------------#'
SET @@global.slave_allow_batching = TRUE;
SELECT @@global.slave_allow_batching;
@@global.slave_allow_batching
1
SET @@global.slave_allow_batching = FALSE;
SELECT @@global.slave_allow_batching;
@@global.slave_allow_batching
0
SET @@global.slave_allow_batching = @global_start_value;
SELECT @@global.slave_allow_batching;
@@global.slave_allow_batching
0

./BlackJoker Mini Shell 1.0