Commit 1d9ab114 authored by Rich Prohaska's avatar Rich Prohaska

BDB and TDB have different behaviour WRT static buffers managed by the DB code. we add an

assert for the BDB behaviour.



git-svn-id: file:///svn/tokudb@2847 c7de825b-a66e-492c-adef-691d508d4ae1
parent d72cf0b5
......@@ -68,6 +68,9 @@ void test_cursor() {
printf("v0:%p:%d\n", v0.data, v0.size);
}
assert(k0.data != k1.data);
assert(v0.data != v1.data);
r = cursor[0]->c_close(cursor[0]); assert(r == 0);
r = cursor[1]->c_close(cursor[1]); assert(r == 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