diff options
author | unknown <monty@mysql.com/narttu.mysql.fi> | 2007-12-10 03:23:15 +0200 |
---|---|---|
committer | unknown <monty@mysql.com/narttu.mysql.fi> | 2007-12-10 03:23:15 +0200 |
commit | 8373b4deac0d60f31a46162b6ef21bfd3ba007c9 (patch) | |
tree | e256a7712a4b0aea701899a972892b3d84b3015e /storage/maria/ma_init.c | |
parent | 457143531fb87e2f3692d04723bc9938b19fb846 (diff) | |
download | mariadb-git-8373b4deac0d60f31a46162b6ef21bfd3ba007c9.tar.gz |
Fixed core dump when running myisamchk (as this doesn't call translog_init)
Added option --transaction-log to maria_chk
storage/maria/ma_init.c:
Fixed core dump when running maria_chk (as this doesn't call translog_init)
storage/maria/ma_test_all.sh:
Added testing of --transaction-log
storage/maria/maria_chk.c:
Enable logging of repair commands if run with --transaction-log
Diffstat (limited to 'storage/maria/ma_init.c')
-rw-r--r-- | storage/maria/ma_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/maria/ma_init.c b/storage/maria/ma_init.c index 7785ac7b8df..bbf23934d15 100644 --- a/storage/maria/ma_init.c +++ b/storage/maria/ma_init.c @@ -59,7 +59,8 @@ void maria_end(void) ft_free_stopwords(); ma_checkpoint_end(); trnman_destroy(); - translog_destroy(); + if (translog_inited) + translog_destroy(); end_pagecache(maria_log_pagecache, TRUE); end_pagecache(maria_pagecache, TRUE); ma_control_file_end(); |