mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
A new option for maria_chk: --zerofill-keep-lsn. This will be used
by ma_test_recovery.pl when it happens that Recovery does not recreate pages exactly as they were at first run: this option will help us verify that the differences are in unimportant page pieces (those pieces will be zeroed by --zerofill-keep-lsn, but not the important LSNs). include/myisamchk.h: new zerofill flag for maria_chk storage/maria/ma_check.c: If T_ZEROFILL_KEEP_LSN, we don't zero out LSNs of data/index pages. Then the table is not movable. We still mark it zerofilled, it helps to know what was last done to the table. storage/maria/maria_chk.c: New option --zerofill-keep-lsn
This commit is contained in:
@@ -60,6 +60,7 @@
|
||||
#define T_WAIT_FOREVER (1L << 30)
|
||||
#define T_WRITE_LOOP ((ulong) 1L << 31)
|
||||
#define T_ZEROFILL ((ulonglong) 1L << 32)
|
||||
#define T_ZEROFILL_KEEP_LSN ((ulonglong) 1L << 33)
|
||||
/** If repair should not bump create_rename_lsn */
|
||||
#define T_NO_CREATE_RENAME_LSN ((ulonglong) 1L << 33)
|
||||
|
||||
|
Reference in New Issue
Block a user