summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/funcs_1/include/bug28309_skip.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/funcs_1/include/bug28309_skip.inc')
-rw-r--r--mysql-test/suite/funcs_1/include/bug28309_skip.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/suite/funcs_1/include/bug28309_skip.inc b/mysql-test/suite/funcs_1/include/bug28309_skip.inc
new file mode 100644
index 00000000..18ba6641
--- /dev/null
+++ b/mysql-test/suite/funcs_1/include/bug28309_skip.inc
@@ -0,0 +1,13 @@
+# Skip tests which suffer from
+# Bug#28309 First insert violates unique constraint
+# - was "memory" table empty?
+# if the folowing conditions are fulfilled:
+# - MySQL Version is 5.0 (Bug is fixed in 5.1 and up)
+# - use of embedded server
+# - run on a case insensitive filesystem
+#
+let $value= query_get_value(SHOW VARIABLES LIKE 'lower_case_file_system', Value, 1);
+if (`SELECT '$value' = 'ON' AND VERSION() LIKE '5.0%embedded%'`)
+{
+ skip # Test requires backport of fix for Bug#28309 First insert violates unique constraint - was "memory" table empty ?;
+}