fix latching bug in unit test

This commit is contained in:
Sears Russell 2009-10-15 17:45:43 +00:00
parent 331f680c09
commit 4b2cfb2b23

View file

@ -125,7 +125,7 @@ START_TEST(operation_physical_do_undo) {
DEBUG("D\n"); DEBUG("D\n");
p = loadPage(xid, rid.page); p = loadPage(xid, rid.page);
readlock(p->rwlatch,0); writelock(p->rwlatch,0);
assert(10 == stasis_page_lsn_read(p)); // "page lsn not set correctly." assert(10 == stasis_page_lsn_read(p)); // "page lsn not set correctly."
setToTwo->LSN = 5; setToTwo->LSN = 5;