| 1 |
connect con1, localhost, root,,; |
| 2 |
connection default; |
| 3 |
CREATE TABLE t1 ENGINE=InnoDB SELECT * FROM seq_1_to_100000000; |
| 4 |
connection con1; |
| 5 |
KILL QUERY @id; |
| 6 |
connection default; |
| 7 |
ERROR 70100: Query execution was interrupted |
| 8 |
CREATE TABLE t1 (a SERIAL) ENGINE=InnoDB; |
| 9 |
DROP TABLE t1; |
| 10 |
# End of 10.2 tests |
| 11 |
# |
| 12 |
# MDEV-35236 Assertion `(mem_root->flags & 4) == 0' failed in safe_lexcstrdup_root |
| 13 |
# |
| 14 |
prepare stmt from 'create or replace table t engine=innodb select 1 as f'; |
| 15 |
set innodb_compression_default=on; |
| 16 |
execute stmt; |
| 17 |
execute stmt; |
| 18 |
drop table t; |
| 19 |
# End of 10.5 tests |
| 20 |
# |
| 21 |
# MDEV-35647 Possible hang during CREATE TABLE…SELECT error handling |
| 22 |
# |
| 23 |
call mtr.add_suppression("InnoDB: DROP TABLE `test`\\.`t4`: Record changed"); |
| 24 |
SET @save_debug= @@GLOBAL.innodb_evict_tables_on_commit_debug; |
| 25 |
SET GLOBAL innodb_evict_tables_on_commit_debug=on; |
| 26 |
CREATE TABLE t1 (a INT) ENGINE=InnoDB; |
| 27 |
SET GLOBAL innodb_evict_tables_on_commit_debug=@save_debug; |
| 28 |
connection con1; |
| 29 |
CREATE TABLE t2 (b BLOB) ENGINE=InnoDB; |
| 30 |
INSERT INTO t2 VALUES (1),('2025-01-21 00:00:00'); |
| 31 |
SET STATEMENT innodb_snapshot_isolation=ON FOR |
| 32 |
CREATE TABLE t3 ENGINE=InnoDB AS SELECT * FROM t1; |
| 33 |
connection default; |
| 34 |
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED; |
| 35 |
SET STATEMENT innodb_snapshot_isolation=ON FOR |
| 36 |
CREATE TABLE t4 (b BLOB CHECK (b)) ENGINE=InnoDB AS SELECT b FROM t2; |
| 37 |
ERROR 22007: Truncated incorrect BOOLEAN value: '2025-01-21 00:00:00' |
| 38 |
connection con1; |
| 39 |
disconnect con1; |
| 40 |
connection default; |
| 41 |
DROP TABLE t3,t2,t1; |
| 42 |
# End of 10.6 tests |