diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-09-06 11:53:10 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-09-06 11:53:10 +0200 |
commit | 244f0e6dd815b388282c15db4fe7f15533f4c8fc (patch) | |
tree | af138f2b3739a742c0c38173cdc86ec176fc0edd /mysql-test/suite/sys_vars/t/binlog_cache_size_basic.test | |
parent | 18af13b88ba580562981a190c25da128a2e9db26 (diff) | |
parent | 2842c369851a8afc2a944ce6f4f60fa052f20969 (diff) | |
download | mariadb-git-244f0e6dd815b388282c15db4fe7f15533f4c8fc.tar.gz |
Merge branch '10.3' into 10.4
Diffstat (limited to 'mysql-test/suite/sys_vars/t/binlog_cache_size_basic.test')
-rw-r--r-- | mysql-test/suite/sys_vars/t/binlog_cache_size_basic.test | 55 |
1 files changed, 27 insertions, 28 deletions
diff --git a/mysql-test/suite/sys_vars/t/binlog_cache_size_basic.test b/mysql-test/suite/sys_vars/t/binlog_cache_size_basic.test index da098fc3495..45018914ebc 100644 --- a/mysql-test/suite/sys_vars/t/binlog_cache_size_basic.test +++ b/mysql-test/suite/sys_vars/t/binlog_cache_size_basic.test @@ -1,27 +1,27 @@ -################# mysql-test\t\binlog_cache_size_basic.test #################### -# # -# Variable Name: binlog_cache_size # -# Scope: GLOBAL # -# Access Type: Dynamic # -# Data Type: Numeric # -# Default Value: 32768 # -# Range: 4096 - 4294967295 # -# # -# # -# Creation Date: 2008-04-28 # -# Author: Salman Rawala/Horst Hunger # -# # -# Description: Test Cases of Dynamic System Variable "binlog_cache_size" # -# that checks behavior of this variable in the following ways # -# * Default Value # -# * Valid & Invalid values # -# * Scope & Access method # -# * Data Integrity . # -# # -# Reference: http://dev.mysql.com/doc/refman/5.1/en/ # -# server-system-variables.html#option_mysqld_binlog_cache_size # -# # -################################################################################ +################ mysql-test\t\binlog_cache_size_basic.test #################### + # +# Variable Name: binlog_cache_size # +# Scope: GLOBAL # +# Access Type: Dynamic # +# Data Type: Numeric # +# Default Value: 32768 # +# Range: 4096 - 4294967295 # +# # +# # +# Creation Date: 2008-04-28 # +# Author: Salman Rawala/Horst Hunger # +# # +# Description: Test Cases of Dynamic System Variable "binlog_cache_size" # +# that checks behavior of this variable in the following ways # +# * Default Value # +# * Valid & Invalid values # +# * Scope & Access method # +# * Data Integrity . # +# # +# Reference: http://dev.mysql.com/doc/refman/5.1/en/ # +# server-system-variables.html#option_mysqld_binlog_cache_size # +# # +############################################################################### ################################################################# # START OF binlog_cache_size TESTS # @@ -32,7 +32,8 @@ ######################################################################### SET @start_value = @@global.binlog_cache_size; -SELECT @start_value; +set @@global.binlog_cache_size= default; +SELECT @@global.binlog_cache_size; --echo '#--------------------FN_DYNVARS_006_01------------------------#' ######################################################################### @@ -49,7 +50,7 @@ SELECT @@global.binlog_cache_size; # Verify default value of variable # ############################################### -SET @@global.binlog_cache_size = @start_value; +SET @@global.binlog_cache_size = default; SELECT @@global.binlog_cache_size = 32768; @@ -145,8 +146,6 @@ SELECT binlog_cache_size = @@session.binlog_cache_size; ############################## SET @@global.binlog_cache_size = @start_value; -SELECT @@global.binlog_cache_size; - ########################################################### # END OF binlog_cache_size TESTS # |