mirror of
https://github.com/MariaDB/server.git
synced 2025-07-20 10:24:14 +03:00
19 lines
514 B
Plaintext
19 lines
514 B
Plaintext
#
|
|
# MDEV-12720 recovery fails with "Generic error"
|
|
# for ROW_FORMAT=compressed
|
|
#
|
|
CREATE TABLE a(i INT PRIMARY KEY AUTO_INCREMENT, s VARCHAR(255)) ENGINE=InnoDB
|
|
ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1;
|
|
BEGIN;
|
|
insert into a(i) select null;
|
|
insert into a select null, uuid() from a a, a b, a c;
|
|
insert into a select null, uuid() from a a, a b, a c;
|
|
insert into a select null, uuid() from a a, a b, a c;
|
|
SET GLOBAL innodb_flush_log_at_trx_commit=1;
|
|
COMMIT;
|
|
# restart
|
|
SELECT COUNT(*) from a;
|
|
COUNT(*)
|
|
1010
|
|
DROP TABLE a;
|