summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/t/binlog_stmt_cache_size_basic.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/sys_vars/t/binlog_stmt_cache_size_basic.test')
-rw-r--r--mysql-test/suite/sys_vars/t/binlog_stmt_cache_size_basic.test54
1 files changed, 27 insertions, 27 deletions
diff --git a/mysql-test/suite/sys_vars/t/binlog_stmt_cache_size_basic.test b/mysql-test/suite/sys_vars/t/binlog_stmt_cache_size_basic.test
index 5c74c6fe8fe..d6ae35ca9c0 100644
--- a/mysql-test/suite/sys_vars/t/binlog_stmt_cache_size_basic.test
+++ b/mysql-test/suite/sys_vars/t/binlog_stmt_cache_size_basic.test
@@ -1,27 +1,27 @@
-################ mysql-test\t\binlog_stmt_cache_size_basic.test ################
-# #
-# Variable Name: binlog_stmt_cache_size #
-# Scope: GLOBAL #
-# Access Type: Dynamic #
-# Data Type: Numeric #
-# Default Value: 32768 #
-# Range: 4096 - 4294967295 #
-# #
-# #
-# Creation Date: 2010-10-12 #
-# Author: Alfranio Correia #
-# #
-# Description: Test Cases of Dynamic System Variable "binlog_stmt_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.5/en/ #
-# server-system-variables.html#option_mysqld_binlog_stmt_cache_size #
-# #
-################################################################################
+################ mysql-test\t\binlog_stmt_cache_size_basic.test ###############
+# #
+# Variable Name: binlog_stmt_cache_size #
+# Scope: GLOBAL #
+# Access Type: Dynamic #
+# Data Type: Numeric #
+# Default Value: 32768 #
+# Range: 4096 - 4294967295 #
+# #
+# #
+# Creation Date: 2010-10-12 #
+# Author: Alfranio Correia #
+# #
+# Description: Test Cases of Dynamic System Variable "binlog_stmt_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.5/en/ #
+# server-system-variables.html#option_mysqld_binlog_stmt_cache_size #
+# #
+###############################################################################
#################################################################
# START OF binlog_stmt_cache_size TESTS #
@@ -32,7 +32,8 @@
#########################################################################
SET @start_value = @@global.binlog_stmt_cache_size;
-SELECT @start_value;
+set @@global.binlog_stmt_cache_size=default;
+SELECT @@global.binlog_stmt_cache_size;
--echo '#--------------------FN_DYNVARS_006_01------------------------#'
#########################################################################
@@ -49,7 +50,7 @@ SELECT @@global.binlog_stmt_cache_size;
# Verify default value of variable #
###############################################
-SET @@global.binlog_stmt_cache_size = @start_value;
+SET @@global.binlog_stmt_cache_size = default;
SELECT @@global.binlog_stmt_cache_size = 32768;
@@ -145,7 +146,6 @@ SELECT binlog_stmt_cache_size = @@session.binlog_stmt_cache_size;
##############################
SET @@global.binlog_stmt_cache_size = @start_value;
-SELECT @@global.binlog_stmt_cache_size;
###########################################################