summaryrefslogtreecommitdiff
path: root/mysql-test/t/variables_debug.test
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-10-02 00:12:27 +0400
committerAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-10-02 00:12:27 +0400
commitd72c594739467160fb30685483c41f0f747925db (patch)
tree2118d6c50022f3510872d297e53f610abd13855f /mysql-test/t/variables_debug.test
parente33e27a6643e426a6143cf725a480ecd5a22899e (diff)
parent00677a802beb48e1763eaf8874390bf335ccb43e (diff)
downloadmariadb-git-d72c594739467160fb30685483c41f0f747925db.tar.gz
Manual merge from mysql-5.1-bugteam into mysql-5.5-bugteam.
conflicts: conflict dbug/dbug.c conflict sql/sql_load.cc
Diffstat (limited to 'mysql-test/t/variables_debug.test')
-rw-r--r--mysql-test/t/variables_debug.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/variables_debug.test b/mysql-test/t/variables_debug.test
index 63c34acc876..6a3bc749b2a 100644
--- a/mysql-test/t/variables_debug.test
+++ b/mysql-test/t/variables_debug.test
@@ -35,6 +35,19 @@ SELECT @@global.debug;
SET GLOBAL debug=@old_debug;
+--echo #
+--echo # Bug #56709: Memory leaks at running the 5.1 test suite
+--echo #
+
+SET @old_local_debug = @@debug;
+
+SET @@debug='d,foo';
+SELECT @@debug;
+SET @@debug='';
+SELECT @@debug;
+
+SET @@debug = @old_local_debug;
+
--echo End of 5.1 tests