summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorPraveenkumar Hulakund <praveenkumar.hulakund@oracle.com>2013-08-21 10:44:22 +0530
committerPraveenkumar Hulakund <praveenkumar.hulakund@oracle.com>2013-08-21 10:44:22 +0530
commit7fffec875ac3be244affff4c86b34bd61af11487 (patch)
tree5c64842b7b3ffcc46f6bbc2bd7bfa57e93d207b2 /mysql-test
parentfcc0011438caaf94f7716ffe4e99bab2e7d17be1 (diff)
parent3b1e98d21844b0f32f6e5fe9df447046eb471453 (diff)
downloadmariadb-git-7fffec875ac3be244affff4c86b34bd61af11487.tar.gz
Bug#11765252 - READ OF FREED MEMORY WHEN "USE DB" AND
"SHOW PROCESSLIST" Merging from 5.1 to 5.5
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/include/have_valgrind.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/include/have_valgrind.inc b/mysql-test/include/have_valgrind.inc
new file mode 100644
index 00000000000..8374c2ed4f0
--- /dev/null
+++ b/mysql-test/include/have_valgrind.inc
@@ -0,0 +1,11 @@
+# include/have_valgrind.inc
+#
+# If some test should be run with only valgrind then skip it while running test
+# without it.
+#
+
+if (!$VALGRIND_TEST) {
+ --skip Need "--valgrind"
+}
+
+