diff options
Diffstat (limited to 'mysql-test/suite/optimizer_unfixed_bugs/r/bug43360.result')
-rw-r--r-- | mysql-test/suite/optimizer_unfixed_bugs/r/bug43360.result | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/mysql-test/suite/optimizer_unfixed_bugs/r/bug43360.result b/mysql-test/suite/optimizer_unfixed_bugs/r/bug43360.result new file mode 100644 index 00000000..7e838906 --- /dev/null +++ b/mysql-test/suite/optimizer_unfixed_bugs/r/bug43360.result @@ -0,0 +1,46 @@ +# +# Bug#43360 - Server crash with a simple multi-table update +# +SET @saved_dbug = @@SESSION.debug_dbug; +set session debug_dbug="+d,optimizer_innodb_icp"; +CREATE TABLE t1 ( +a CHAR(2) NOT NULL PRIMARY KEY, +b VARCHAR(20) NOT NULL, +KEY (b) +) ENGINE=InnoDB; +CREATE TABLE t2 ( +a CHAR(2) NOT NULL PRIMARY KEY, +b VARCHAR(20) NOT NULL, +KEY (b) +) ENGINE=InnoDB; +INSERT INTO t1 VALUES +('AB','MySQLAB'), +('JA','Sun Microsystems'), +('MS','Microsoft'), +('IB','IBM- Inc.'), +('GO','Google Inc.'); +INSERT IGNORE INTO t2 VALUES +('AB','Sweden'), +('JA','USA'), +('MS','United States of America'), +('IB','North America'), +('GO','South America'); +Warnings: +Warning 1265 Data truncated for column 'b' at row 3 +UPDATE t1,t2 SET t1.b=UPPER(t1.b) WHERE t1.b LIKE 'United%'; +SELECT * FROM t1; +a b +GO Google Inc. +IB IBM- Inc. +MS Microsoft +AB MySQLAB +JA Sun Microsystems +SELECT * FROM t2; +a b +IB North America +GO South America +AB Sweden +MS United States of Ame +JA USA +DROP TABLE t1,t2; +SET debug_dbug= @saved_dbug; |