mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
db03bda0ed
BitKeeper/etc/ignore: Added mysql-test/bug36522-64.tar mysql-test/bug36522.tar mysql-test/t.log mysql-test/tps.log to the ignore list
115 lines
4.9 KiB
Text
115 lines
4.9 KiB
Text
SET @start_global_value = @@global.slave_transaction_retries;
|
|
SELECT @start_global_value;
|
|
@start_global_value
|
|
10
|
|
'#--------------------FN_DYNVARS_149_01-------------------------#'
|
|
SET @@global.slave_transaction_retries = 50;
|
|
SET @@global.slave_transaction_retries = DEFAULT;
|
|
SELECT @@global.slave_transaction_retries;
|
|
@@global.slave_transaction_retries
|
|
10
|
|
'#--------------------FN_DYNVARS_149_02-------------------------#'
|
|
SET @@global.slave_transaction_retries = DEFAULT;
|
|
SELECT @@global.slave_transaction_retries = 10;
|
|
@@global.slave_transaction_retries = 10
|
|
1
|
|
'#--------------------FN_DYNVARS_149_03-------------------------#'
|
|
SET @@global.slave_transaction_retries = 0;
|
|
SELECT @@global.slave_transaction_retries;
|
|
@@global.slave_transaction_retries
|
|
0
|
|
SET @@global.slave_transaction_retries = 1;
|
|
SELECT @@global.slave_transaction_retries;
|
|
@@global.slave_transaction_retries
|
|
1
|
|
SET @@global.slave_transaction_retries = 15;
|
|
SELECT @@global.slave_transaction_retries;
|
|
@@global.slave_transaction_retries
|
|
15
|
|
SET @@global.slave_transaction_retries = 1024;
|
|
SELECT @@global.slave_transaction_retries;
|
|
@@global.slave_transaction_retries
|
|
1024
|
|
SET @@global.slave_transaction_retries = 2147483648;
|
|
SELECT @@global.slave_transaction_retries;
|
|
@@global.slave_transaction_retries
|
|
2147483648
|
|
SET @@global.slave_transaction_retries = 2147483648*2-1;
|
|
SELECT @@global.slave_transaction_retries;
|
|
@@global.slave_transaction_retries
|
|
4294967295
|
|
SET @@global.slave_transaction_retries = 2147483649*2;
|
|
SELECT @@global.slave_transaction_retries;
|
|
@@global.slave_transaction_retries
|
|
4294967298
|
|
SET @@global.slave_transaction_retries = 4294967295;
|
|
SELECT @@global.slave_transaction_retries;
|
|
@@global.slave_transaction_retries
|
|
4294967295
|
|
'#--------------------FN_DYNVARS_149_04-------------------------#'
|
|
SET @@slave_transaction_retries = 2;
|
|
ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
|
|
SET @@session.slave_transaction_retries = 3;
|
|
ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
|
|
SET @@local.slave_transaction_retries = 4;
|
|
ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
|
|
'#------------------FN_DYNVARS_149_05-----------------------#'
|
|
SET @@global.slave_transaction_retries = -1;
|
|
SELECT @@global.slave_transaction_retries;
|
|
@@global.slave_transaction_retries
|
|
0
|
|
SET @@global.slave_transaction_retries = 2147483649*2147483649;
|
|
SELECT @@global.slave_transaction_retries;
|
|
@@global.slave_transaction_retries
|
|
4611686022722355201
|
|
'Bug# 34877: Invalid Values are coming in variable on assigning valid values';
|
|
SET @@global.slave_transaction_retries = 65530.34.;
|
|
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.' at line 1
|
|
SET @@global.slave_transaction_retries = '100';
|
|
ERROR 42000: Incorrect argument type to variable 'slave_transaction_retries'
|
|
SET @@global.slave_transaction_retries = 7483649.56;
|
|
ERROR 42000: Incorrect argument type to variable 'slave_transaction_retries'
|
|
SET @@global.slave_transaction_retries = ON;
|
|
ERROR 42000: Incorrect argument type to variable 'slave_transaction_retries'
|
|
SET @@global.slave_transaction_retries = OFF;
|
|
ERROR 42000: Incorrect argument type to variable 'slave_transaction_retries'
|
|
'#------------------FN_DYNVARS_149_06-----------------------#'
|
|
SET @@global.slave_transaction_retries = 3000;
|
|
SELECT @@global.slave_transaction_retries = VARIABLE_VALUE
|
|
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
|
WHERE VARIABLE_NAME='slave_transaction_retries';
|
|
@@global.slave_transaction_retries = VARIABLE_VALUE
|
|
1
|
|
'#------------------FN_DYNVARS_149_07-----------------------#'
|
|
SELECT count(VARIABLE_VALUE)
|
|
FROM INFORMATION_SCHEMA.SESSION_VARIABLES
|
|
WHERE VARIABLE_NAME='slave_transaction_retries';
|
|
count(VARIABLE_VALUE)
|
|
1
|
|
'#------------------FN_DYNVARS_149_08-----------------------#'
|
|
SET @@global.slave_transaction_retries = TRUE;
|
|
SELECT @@global.slave_transaction_retries;
|
|
@@global.slave_transaction_retries
|
|
1
|
|
SET @@global.slave_transaction_retries = FALSE;
|
|
SELECT @@global.slave_transaction_retries;
|
|
@@global.slave_transaction_retries
|
|
0
|
|
'#---------------------FN_DYNVARS_149_09----------------------#'
|
|
SET @@global.slave_transaction_retries = 60*60;
|
|
SELECT @@slave_transaction_retries = @@global.slave_transaction_retries;
|
|
@@slave_transaction_retries = @@global.slave_transaction_retries
|
|
1
|
|
'#---------------------FN_DYNVARS_149_10----------------------#'
|
|
SET slave_transaction_retries = 2048;
|
|
ERROR HY000: Variable 'slave_transaction_retries' is a GLOBAL variable and should be set with SET GLOBAL
|
|
SELECT slave_transaction_retries;
|
|
ERROR 42S22: Unknown column 'slave_transaction_retries' in 'field list'
|
|
SELECT @@slave_transaction_retries;
|
|
@@slave_transaction_retries
|
|
3600
|
|
SET global slave_transaction_retries = 99;
|
|
SET @@global.slave_transaction_retries = @start_global_value;
|
|
SELECT @@global.slave_transaction_retries;
|
|
@@global.slave_transaction_retries
|
|
10
|