Commit 8b97ee2f authored by Dave Wells's avatar Dave Wells Committed by Yoni Fogel

typo not caught with DEBUG=1

git-svn-id: file:///svn/toku/tokudb@16218 c7de825b-a66e-492c-adef-691d508d4ae1
parent 518cebbb
...@@ -127,7 +127,6 @@ static int do_random_fileop(int i, int state) { ...@@ -127,7 +127,6 @@ static int do_random_fileop(int i, int state) {
// if ( verbose ) printf("%s : %s : DB '%d', state '%d, rval '%d'\n", __FILE__, __FUNCTION__, i, state, rval); // if ( verbose ) printf("%s : %s : DB '%d', state '%d, rval '%d'\n", __FILE__, __FUNCTION__, i, state, rval);
int next_state = state; int next_state = state;
int r;
char fname[100]; char fname[100];
sprintf(fname, "%s%d.db", table, i); sprintf(fname, "%s%d.db", table, i);
...@@ -137,7 +136,7 @@ static int do_random_fileop(int i, int state) { ...@@ -137,7 +136,7 @@ static int do_random_fileop(int i, int state) {
case CREATED: case CREATED:
do_close(db, fname, &next_state); do_close(db, fname, &next_state);
db_array[i] = db = 0; db_array[i] = db = 0;
if ( r < (percent_do_op / 2) ) { if ( rval < (percent_do_op / 2) ) {
do_delete(fname, &next_state); do_delete(fname, &next_state);
} }
break; break;
......
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