fix crash in recovery redo that was caused by multipage operations
This commit is contained in:
parent
2d645beb42
commit
75ae7103fc
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ static void stasis_recovery_redo(stasis_log_t* log, stasis_transaction_table_t *
|
||||||
case UPDATELOG: {
|
case UPDATELOG: {
|
||||||
if(e->update.page == INVALID_PAGE) {
|
if(e->update.page == INVALID_PAGE) {
|
||||||
// this entry specifies a logical undo operation; ignore it.
|
// 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);
|
stasis_operation_redo(e,0);
|
||||||
} else {
|
} else {
|
||||||
Page * p = loadPageForOperation(e->xid, e->update.page, e->update.funcID, 1);
|
Page * p = loadPageForOperation(e->xid, e->update.page, e->update.funcID, 1);
|
||||||
|
|
Loading…
Reference in a new issue