update comment

This commit is contained in:
Sears Russell 2008-10-22 21:05:12 +00:00
parent edb51e5789
commit 6f717c351a

View file

@ -320,7 +320,9 @@ void allocationPolicyAllocedFromPage(allocationPolicy *ap, int xid, pageid_t pag
assert(p->lockCount == 0); assert(p->lockCount == 0);
lockAlloced(ap, xid, (availablePage*)p); lockAlloced(ap, xid, (availablePage*)p);
} else { } else {
assert(*xidp == xid); // new // new: this xact is allocing on a page that an active xact alloced on.
// perhaps this is safe, but it's spooky.
assert(*xidp == xid);
} }
} }