summaryrefslogtreecommitdiff
path: root/mysql-test/r/variables_debug.result
diff options
context:
space:
mode:
authordavi@mysql.com/endora.local <>2008-02-26 12:03:59 -0300
committerdavi@mysql.com/endora.local <>2008-02-26 12:03:59 -0300
commitcdd5eae9b6fc7db5fd4dd7a60daf07cd412f1b13 (patch)
tree9599643f40672ed859b5baaf1e060a7b356498ab /mysql-test/r/variables_debug.result
parentfd3bcbea80fa34c5c69e602958799dcb10ba8cd0 (diff)
downloadmariadb-git-cdd5eae9b6fc7db5fd4dd7a60daf07cd412f1b13.tar.gz
Bug#34424 query_cache_debug.test leads to valgrind warnings
Bug#34678 @@debug variable's incremental mode The problem is that the per-thread debugging settings stack wasn't being deallocated before the thread termination, leaking the stack memory. The chosen solution is to push a new state if the current is set to the initial settings and pop it (free) once the thread finishes.
Diffstat (limited to 'mysql-test/r/variables_debug.result')
-rw-r--r--mysql-test/r/variables_debug.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/variables_debug.result b/mysql-test/r/variables_debug.result
new file mode 100644
index 00000000000..9cd133dddb1
--- /dev/null
+++ b/mysql-test/r/variables_debug.result
@@ -0,0 +1,12 @@
+set debug= 'T';
+select @@debug;
+@@debug
+T
+set debug= '+P';
+select @@debug;
+@@debug
+P:T
+set debug= '-P';
+select @@debug;
+@@debug
+T