diff options
author | unknown <heikki@hundin.mysql.fi> | 2003-05-12 17:33:42 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2003-05-12 17:33:42 +0300 |
commit | ce50dd42d8e5375942e0f9b23fff002ba3a054e9 (patch) | |
tree | 67126b193565875f8e2dcba3923233512e716a2f /innobase/srv | |
parent | 6b14b0de14283d7566651c04340299f6508a4a6a (diff) | |
download | mariadb-git-ce50dd42d8e5375942e0f9b23fff002ba3a054e9.tar.gz |
srv0start.c, trx0sys.c:
Let InnoDB to skip writing of pages from the doublewrite buffer if innodb_force_recovery=6; normally, if the page is corrupt AND the corresponding page in the doublewrite buffer is also corrupt, InnoDB calls exit(1)
innobase/trx/trx0sys.c:
Let InnoDB to skip writing of pages from the doublewrite buffer if innodb_force_recovery=6; normally, if the page is corrupt AND the corresponding page in the doublewrite buffer is also corrupt, InnoDB calls exit(1)
innobase/srv/srv0start.c:
Let InnoDB to skip writing of pages from the doublewrite buffer if innodb_force_recovery=6; normally, if the page is corrupt AND the corresponding page in the doublewrite buffer is also corrupt, InnoDB calls exit(1)
Diffstat (limited to 'innobase/srv')
-rw-r--r-- | innobase/srv/srv0start.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/innobase/srv/srv0start.c b/innobase/srv/srv0start.c index ec0546f8c66..552355e5d45 100644 --- a/innobase/srv/srv0start.c +++ b/innobase/srv/srv0start.c @@ -1168,7 +1168,10 @@ innobase_start_or_create_for_mysql(void) and restore them from the doublewrite buffer if possible */ - trx_sys_doublewrite_restore_corrupt_pages(); + if (srv_force_recovery < SRV_FORCE_NO_LOG_REDO) { + + trx_sys_doublewrite_restore_corrupt_pages(); + } } srv_normalize_path_for_win(srv_arch_dir); |