diff options
author | Igor Babaev <igor@askmonty.org> | 2011-10-30 06:17:07 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2011-10-30 06:17:07 -0700 |
commit | 7dd42686fea5620c11865f57a955aabc08375e5a (patch) | |
tree | 59a5b098d2089a737254c42f692428b7b80a752c /mysql-test/r/innodb_icp.result | |
parent | e5627c9802460c745814961e721191ff4b6c91b3 (diff) | |
download | mariadb-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/innodb_icp.result')
-rw-r--r-- | mysql-test/r/innodb_icp.result | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mysql-test/r/innodb_icp.result b/mysql-test/r/innodb_icp.result index 58f23d5f341..869d8dbafc8 100644 --- a/mysql-test/r/innodb_icp.result +++ b/mysql-test/r/innodb_icp.result @@ -538,6 +538,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) ; |