Commit 2f43b601 authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

[t:4432] fix tests that didn't compile with new change with icc


git-svn-id: file:///svn/toku/tokudb@39243 c7de825b-a66e-492c-adef-691d508d4ae1
parent 258a0b1c
...@@ -57,7 +57,8 @@ test_fifo_enq (int n) { ...@@ -57,7 +57,8 @@ test_fifo_enq (int n) {
MSN msn = next_dummymsn(); MSN msn = next_dummymsn();
if (startmsn.msn == ZERO_MSN.msn) if (startmsn.msn == ZERO_MSN.msn)
startmsn = msn; startmsn = msn;
r = toku_fifo_enq(f, thekey, thekeylen, theval, thevallen, i, msn, xids, true, NULL); assert(r == 0); enum brt_msg_type type = (enum brt_msg_type) i;
r = toku_fifo_enq(f, thekey, thekeylen, theval, thevallen, type, msn, xids, true, NULL); assert(r == 0);
xids_destroy(&xids); xids_destroy(&xids);
} }
......
...@@ -44,7 +44,8 @@ static void test_3748 (void) { ...@@ -44,7 +44,8 @@ static void test_3748 (void) {
if (startmsn.msn == ZERO_MSN.msn) if (startmsn.msn == ZERO_MSN.msn)
startmsn = msn; startmsn = msn;
r = toku_fifo_enq(f, thekey, thekeylen, theval, thevallen, i, msn, xids, true, NULL); assert(r == 0); enum brt_msg_type type = (enum brt_msg_type) i;
r = toku_fifo_enq(f, thekey, thekeylen, theval, thevallen, type, msn, xids, true, NULL); assert(r == 0);
xids_destroy(&xids); xids_destroy(&xids);
} }
for (int i=N/10; i<N; i++) { for (int i=N/10; i<N; i++) {
......
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