From a175314c3e5827eb193872241446f2f8f5c9d33c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:07:14 +0200 Subject: Adding upstream version 1:10.5.12. Signed-off-by: Daniel Baumann --- .../suite/optimizer_unfixed_bugs/r/bug40992.result | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 mysql-test/suite/optimizer_unfixed_bugs/r/bug40992.result (limited to 'mysql-test/suite/optimizer_unfixed_bugs/r/bug40992.result') diff --git a/mysql-test/suite/optimizer_unfixed_bugs/r/bug40992.result b/mysql-test/suite/optimizer_unfixed_bugs/r/bug40992.result new file mode 100644 index 00000000..59ab7607 --- /dev/null +++ b/mysql-test/suite/optimizer_unfixed_bugs/r/bug40992.result @@ -0,0 +1,17 @@ +# +# Bug#40992 - InnoDB: Crash when engine_condition_pushdown is on +# +SET @saved_dbug = @@SESSION.debug_dbug; +set session debug_dbug="+d,optimizer_innodb_icp"; +CREATE TABLE t ( +dummy INT PRIMARY KEY, +a INT UNIQUE, +b int +) ENGINE=InnoDB; +INSERT INTO t VALUES (1,1,1),(3,3,3),(5,5,5); +SELECT * FROM t WHERE a > 2 FOR UPDATE; +dummy a b +3 3 3 +5 5 5 +DROP TABLE t; +SET debug_dbug= @saved_dbug; -- cgit v1.2.3