summaryrefslogtreecommitdiff
path: root/mysql-test/r/maria_icp.result
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2011-10-30 06:17:07 -0700
committerIgor Babaev <igor@askmonty.org>2011-10-30 06:17:07 -0700
commit7dd42686fea5620c11865f57a955aabc08375e5a (patch)
tree59a5b098d2089a737254c42f692428b7b80a752c /mysql-test/r/maria_icp.result
parente5627c9802460c745814961e721191ff4b6c91b3 (diff)
downloadmariadb-git-7dd42686fea5620c11865f57a955aabc08375e5a.tar.gz
Backported the fix and the test case for bug 59483 from the mysql-5.6 code line.
Diffstat (limited to 'mysql-test/r/maria_icp.result')
-rw-r--r--mysql-test/r/maria_icp.result20
1 files changed, 20 insertions, 0 deletions
diff --git a/mysql-test/r/maria_icp.result b/mysql-test/r/maria_icp.result
index 44d00a4e4a0..ea824ece764 100644
--- a/mysql-test/r/maria_icp.result
+++ b/mysql-test/r/maria_icp.result
@@ -544,6 +544,26 @@ pk
3
DROP TABLE t1;
#
+# Bug#59483 "Crash on INSERT/REPLACE in
+# rec_convert_dtuple_to_rec_comp with ICP on"
+#
+CREATE TABLE t1 (
+pk INTEGER AUTO_INCREMENT PRIMARY KEY,
+i1 INTEGER,
+c1 CHAR(6),
+i2 INTEGER NOT NULL,
+KEY (i2)
+);
+INSERT INTO t1 VALUES
+(NULL, 4, 'that', 8),
+(NULL, 1, 'she', 6),
+(NULL, 6, 'tell', 2);
+SELECT * FROM t1 WHERE i2 IN (3, 6) LIMIT 2 FOR UPDATE;
+pk i1 c1 i2
+2 1 she 6
+INSERT INTO t1 (i2) VALUES (1);
+DROP TABLE t1;
+#
# BUG#778434 Wrong result with in_to_exists=on in maria-5.3-mwl89
#
CREATE TABLE t1 ( f11 int) ;