update comment
This commit is contained in:
parent
edb51e5789
commit
6f717c351a
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue