mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
[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
This commit is contained in:
parent
9ac3cea0a0
commit
3643ff8e8e
2 changed files with 7 additions and 5 deletions
|
@ -54,10 +54,11 @@ test_fifo_enq (int n) {
|
|||
r = xids_create_child(xids_get_root_xids(), &xids, (TXNID)i);
|
||||
assert(r==0);
|
||||
}
|
||||
MSN msn = next_dummymsn();
|
||||
if (startmsn.msn == ZERO_MSN.msn)
|
||||
startmsn = msn;
|
||||
r = toku_fifo_enq(f, thekey, thekeylen, theval, thevallen, i, msn, xids, true, NULL); assert(r == 0);
|
||||
MSN msn = next_dummymsn();
|
||||
if (startmsn.msn == ZERO_MSN.msn)
|
||||
startmsn = msn;
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
|
@ -44,7 +44,8 @@ static void test_3748 (void) {
|
|||
|
||||
if (startmsn.msn == ZERO_MSN.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);
|
||||
}
|
||||
for (int i=N/10; i<N; i++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue