summaryrefslogtreecommitdiff
path: root/mysql-test/t/variables.test
diff options
context:
space:
mode:
authorjimw@mysql.com <>2006-04-26 09:21:53 -0700
committerjimw@mysql.com <>2006-04-26 09:21:53 -0700
commit960c5621ebe7bd581a959146e1580158c816309f (patch)
treeee52488cbef3990eee22a5c2404a76d347943fd8 /mysql-test/t/variables.test
parentd96fbd738d9108332d376ee80ba38688229687be (diff)
downloadmariadb-git-960c5621ebe7bd581a959146e1580158c816309f.tar.gz
Bug #17849: sql_big_selects not shown in SHOW VARIABLES output
This patch simply adds sql_big_selects to the list of variables output by SHOW VARIABLES.
Diffstat (limited to 'mysql-test/t/variables.test')
-rw-r--r--mysql-test/t/variables.test10
1 files changed, 9 insertions, 1 deletions
diff --git a/mysql-test/t/variables.test b/mysql-test/t/variables.test
index 8d8dc7896df..5b8db2f8786 100644
--- a/mysql-test/t/variables.test
+++ b/mysql-test/t/variables.test
@@ -472,4 +472,12 @@ select @@character_set_filesystem;
set @@global.character_set_filesystem=default;
select @@global.character_set_filesystem;
-# End of 5.0 tests
+#
+# Bug #17849: Show sql_big_selects in SHOW VARIABLES
+#
+set @old_sql_big_selects = @@sql_big_selects;
+set @@sql_big_selects = 1;
+show variables like 'sql_big_selects';
+set @@sql_big_selects = @old_sql_big_selects;
+
+--echo End of 5.0 tests