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:
Sears Russell 2006-07-27 00:10:21 +00:00
parent e9880654e4
commit d1da4e59c0

View file

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