From 75ae7103fcb7961b7464d4c56027d03702076365 Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Tue, 11 May 2010 23:17:09 +0000 Subject: [PATCH] fix crash in recovery redo that was caused by multipage operations --- src/stasis/recovery2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stasis/recovery2.c b/src/stasis/recovery2.c index 9a19bbf..aac3b7b 100644 --- a/src/stasis/recovery2.c +++ b/src/stasis/recovery2.c @@ -170,7 +170,7 @@ static void stasis_recovery_redo(stasis_log_t* log, stasis_transaction_table_t * case UPDATELOG: { if(e->update.page == INVALID_PAGE) { // this entry specifies a logical undo operation; ignore it. - } else if(e->update.page == SEGMENT_PAGEID) { + } else if(e->update.page == SEGMENT_PAGEID || e->update.page == MULTI_PAGEID) { stasis_operation_redo(e,0); } else { Page * p = loadPageForOperation(e->xid, e->update.page, e->update.funcID, 1);