Commit 6da693ce authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Recreate the travelgid/kayak assertion failure.

git-svn-id: file:///svn/toku/tokudb@12761 c7de825b-a66e-492c-adef-691d508d4ae1
parent c0b59970
...@@ -99,15 +99,20 @@ doit (void) ...@@ -99,15 +99,20 @@ doit (void)
u_int32_t N=46; u_int32_t N=46;
u_int32_t BIG=1<<16; u_int32_t BIG=1<<16;
for (u_int32_t i=0; i<2*N; i++) { for (u_int32_t i=0; i<2*N; i++) {
insert_n(i); insert_n(i<<8);
} }
insert_n(BIG); insert_n(BIG);
insert_n(BIG+1); insert_n(BIG+1);
reopen_em(); reopen_em();
for (u_int32_t i=0; i<N; i++) { for (u_int32_t i=0; i<N; i++) {
insert_n(2*N+i); insert_n((2*N+i)<<8);
} }
delete_n_now(BIG+1); delete_n_now(BIG+1);
reopen_em();
for (u_int32_t i=0; i<N; i++) {
insert_n((48<<8) + i);
}
insert_n((48<<8) + N);
return; return;
for (u_int32_t i=N-1; i<N; i++) { for (u_int32_t i=N-1; i<N; i++) {
delete_n_now(i<<16); delete_n_now(i<<16);
......
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