Commit 65eaa7fd authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:3755], put in assert

git-svn-id: file:///svn/toku/tokudb@33425 c7de825b-a66e-492c-adef-691d508d4ae1
parent 85e9f94b
...@@ -1938,6 +1938,8 @@ int toku_cachetable_get_and_pin_nonblocking ( ...@@ -1938,6 +1938,8 @@ int toku_cachetable_get_and_pin_nonblocking (
pair_touch(p); pair_touch(p);
*value = p->value; *value = p->value;
if (sizep) *sizep = p->size; if (sizep) *sizep = p->size;
// for ticket #3755
assert(!p->checkpoint_pending);
cachetable_unlock(ct); cachetable_unlock(ct);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment