Fixed segmentation fault when a CLR with a NULLRID is encountered. I
don't understand why this bug wasn't triggered by linearHashNTA or linkedListNTA, but is triggered by the new region implementation.
This commit is contained in:
parent
e9880654e4
commit
d1da4e59c0
1 changed files with 3 additions and 2 deletions
|
@ -107,8 +107,9 @@ void redoUpdate(const LogEntry * e) {
|
||||||
} else {
|
} else {
|
||||||
DEBUG("OPERATION Skiping undo for clr, %ld {%d %d %ld}\n", f->LSN, rid.page, rid.slot, rid.size);
|
DEBUG("OPERATION Skiping undo for clr, %ld {%d %d %ld}\n", f->LSN, rid.page, rid.slot, rid.size);
|
||||||
}
|
}
|
||||||
|
if(p) {
|
||||||
releasePage(p);
|
releasePage(p);
|
||||||
|
}
|
||||||
FreeLogEntry(f);
|
FreeLogEntry(f);
|
||||||
} else {
|
} else {
|
||||||
assert(0);
|
assert(0);
|
||||||
|
|
Loading…
Reference in a new issue