summaryrefslogtreecommitdiff
path: root/mysql-test/main/set_statement.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/set_statement.test')
-rw-r--r--mysql-test/main/set_statement.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/main/set_statement.test b/mysql-test/main/set_statement.test
index cc361553cfd..e2a3288106b 100644
--- a/mysql-test/main/set_statement.test
+++ b/mysql-test/main/set_statement.test
@@ -1130,3 +1130,10 @@ while ($1)
--enable_query_log
--echo # @rnd should be 0
select @rnd;
+
+create table t (a int);
+SET sql_mode=ORACLE;
+SET STATEMENT myisam_sort_buffer_size=800000 FOR OPTIMIZE TABLE t;
+SET sql_mode=default;
+drop table t;
+