|
Note: The test is non-deterministic, run with --repeat. It fails for me within 10 attempts, but it can vary on different machines. ASAN or Valgrind don't help.
--source include/have_partition.inc
|
|
CREATE TABLE t1 (pk INT PRIMARY KEY) ENGINE=MyISAM WITH SYSTEM VERSIONING;
|
INSERT INTO t1 VALUES (11),(12);
|
ALTER TABLE t1 PARTITION BY KEY() PARTITIONS 3;
|
DELETE FROM t1 WHERE pk >= 0;
|
|
# Cleanup
|
DROP TABLE t1;
|
|
10.3 9d97e6010eb
|
mysqltest: At line 6: query 'DELETE FROM t1 WHERE pk >= 0' failed: 126: Index for table './test/t1#P#p1.MYI' is corrupt; try to repair it
|
Also reproducible with Aria. Could not reproduce with InnoDB.
|