diff --git a/stasis/page/compression/staticMulticolumn.h b/stasis/page/compression/staticMulticolumn.h index fd0439b..8f3e811 100644 --- a/stasis/page/compression/staticMulticolumn.h +++ b/stasis/page/compression/staticMulticolumn.h @@ -365,6 +365,7 @@ class StaticMulticolumn { abort(); } */ inline TUPLE * recordFind(int xid, TUPLE& val, TUPLE& scratch) { + assertlocked(p_->rwlatch); std::pair pair_scratch; std::pair * ret; // printf("static multiclumn record find\n"); fflush(stdout); @@ -439,6 +440,7 @@ class StaticMulticolumn { } inline void pack() { + assertlocked(p_->rwlatch); #ifdef PACK_STATS if(pack_first) { pack_exceptionBytes = 0;