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
commit39932dcffa9f77f3019673006f54b55dc3f50ef2 (patch)
tree5c64842b7b3ffcc46f6bbc2bd7bfa57e93d207b2 /mysql-test
parent198f3b466cee289a844cffc453da1d3fb7d7c31a (diff)
parent10a6aa256e965874b3a307f7d81393078a991544 (diff)
downloadmariadb-git-39932dcffa9f77f3019673006f54b55dc3f50ef2.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"
+}
+
+