summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorMartin Hansson <martin.hansson@sun.com>2010-03-19 09:23:44 +0100
committerMartin Hansson <martin.hansson@sun.com>2010-03-19 09:23:44 +0100
commitd03133dccf51a989bcd748ba9bc5aedccf11c4cf (patch)
tree51b8320c00b390ae0c8751ffa4662eab2b466181 /mysql-test/t
parent879b705342713c98dd73f8596d3d44c9381b3622 (diff)
downloadmariadb-git-d03133dccf51a989bcd748ba9bc5aedccf11c4cf.tar.gz
Post-push fix to disable a subset of the test case for Bug#47762.
This has been back-ported from 6.0 as the problems proved to afflict 5.1 as well. The fix exposed two new bugs. They were reported as follows. Bug no 52174: Sometimes wrong plan when reading a MAX value from non-NULL index Bug no 52173: Reading NULL value from non-NULL index gives wrong result in embedded server Both bugs taken together affect a much smaller class of queries than #47762, so the fix stays for now.
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/group_min_max.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/group_min_max.test b/mysql-test/t/group_min_max.test
index 6aec0e3677f..b06f0c09fc5 100644
--- a/mysql-test/t/group_min_max.test
+++ b/mysql-test/t/group_min_max.test
@@ -1070,6 +1070,18 @@ DROP TABLE t1;
--echo ## Test for NOT NULLs
CREATE TABLE t1 ( a INT NOT NULL PRIMARY KEY);
INSERT INTO t1 VALUES (1), (2), (3);
+--echo #
+--echo # NULL-safe operator test disabled for non-NULL indexed columns.
+--echo #
+--echo # See bugs
+--echo #
+--echo # - Bug#52173: Reading NULL value from non-NULL index gives
+--echo # wrong result in embedded server
+--echo #
+--echo # - Bug#52174: Sometimes wrong plan when reading a MAX value from
+--echo # non-NULL index
+--echo #
+--let $skip_null_safe_test= 1
--source include/min_null_cond.inc
DROP TABLE t1;