mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fixed bug where automaticly zerofilled table was not part of recovery if crash happended before next checkpoint.
mysql-test/suite/maria/r/maria-autozerofill.result: Updated test case storage/maria/ha_maria.cc: Write create_rename_lsn for auto_zerofilled tables. storage/maria/ma_delete.c: Added DBUG_ASSERT() to find errors when deleting pages. storage/maria/ma_locking.c: Fixed typo storage/maria/ma_open.c: Don't regard file as movable if create_rename_lsn is not LSN_NEEDS_NEW_STATE_LSNS
This commit is contained in:
@ -13,8 +13,7 @@ a
|
||||
Warnings:
|
||||
Error 1194 t1' is marked as crashed and should be repaired
|
||||
flush table t1;
|
||||
Status: changed,sorted index pages,zerofilled,movable
|
||||
create_rename_lsn has magic value
|
||||
Status: changed,sorted index pages,zerofilled
|
||||
insert into t1 values(2);
|
||||
flush table t1;
|
||||
create_rename_lsn has non-magic value
|
||||
|
Reference in New Issue
Block a user