mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
compile with both gcc and icc. addresses #1185
git-svn-id: file:///svn/tokudb.1131b+1080a+1185@6394 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
465b7c289c
commit
cb93aed2c6
1 changed files with 5 additions and 5 deletions
|
@ -22,19 +22,19 @@ rundelete (int rexpect, toku_range* todelete) {
|
|||
static void
|
||||
tests (BOOL allow_overlaps) {
|
||||
toku_range insert;
|
||||
unsigned i;
|
||||
int i;
|
||||
/* Force buf to increase. */
|
||||
setup_tree(allow_overlaps, FALSE, 0, 0, 0);
|
||||
for (i = 0; i < numlen / 2; i++) {
|
||||
for (i = 0; i < (int)numlen / 2; i++) {
|
||||
runinsert(0, init_range(&insert, i, i, 0));
|
||||
unsigned j = numlen /2 + i;
|
||||
int j = numlen /2 + i;
|
||||
runinsert(0, init_range(&insert, j, j, 1));
|
||||
}
|
||||
int k;
|
||||
for (k = numlen/2 -1; k >= 0; k--) {
|
||||
for (k = (int)numlen/2 -1; k >= 0; k--) {
|
||||
i = k;
|
||||
rundelete(0, init_range(&insert, i, i, 0));
|
||||
unsigned j = numlen /2 + i;
|
||||
int j = numlen /2 + i;
|
||||
rundelete(0, init_range(&insert, j, j, 1));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue