mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
1efdd5a572
(and to follow the naming conventons). keep old debug variable, but mark it as deprecated.
21 lines
463 B
Text
21 lines
463 B
Text
--echo #
|
|
--echo # Bug#40992 - InnoDB: Crash when engine_condition_pushdown is on
|
|
--echo #
|
|
|
|
--source include/have_debug.inc
|
|
--source include/have_innodb.inc
|
|
|
|
# Crash requires that we enable Index Condition Pushdown in InnoDB
|
|
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;
|
|
|
|
DROP TABLE t;
|