fix crash in recovery redo that was caused by multipage operations

This commit is contained in:
Sears Russell 2010-05-11 23:17:09 +00:00
parent 2d645beb42
commit 75ae7103fc

View file

@ -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);