diff options
author | unknown <guilhem@gbichot4.local> | 2008-02-11 16:36:34 +0100 |
---|---|---|
committer | unknown <guilhem@gbichot4.local> | 2008-02-11 16:36:34 +0100 |
commit | d2a3bf33a7602e294fdbb348083c9b010c72999f (patch) | |
tree | b5ed32ad7a0fccf53d66ca79928e67f35f2514d1 /include/myisamchk.h | |
parent | 5fa560e995a01c87bd7d20264c85c2ec66c19748 (diff) | |
download | mariadb-git-d2a3bf33a7602e294fdbb348083c9b010c72999f.tar.gz |
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
Diffstat (limited to 'include/myisamchk.h')
-rw-r--r-- | include/myisamchk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/myisamchk.h b/include/myisamchk.h index 3b1f9b6db0e..29f523558aa 100644 --- a/include/myisamchk.h +++ b/include/myisamchk.h @@ -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) |