mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
typo not caught with DEBUG=1
git-svn-id: file:///svn/toku/tokudb@16218 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
d569899a6d
commit
688a7ca01e
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
||||
int next_state = state;
|
||||
int r;
|
||||
|
||||
char fname[100];
|
||||
sprintf(fname, "%s%d.db", table, i);
|
||||
|
@ -137,7 +136,7 @@ static int do_random_fileop(int i, int state) {
|
|||
case CREATED:
|
||||
do_close(db, fname, &next_state);
|
||||
db_array[i] = db = 0;
|
||||
if ( r < (percent_do_op / 2) ) {
|
||||
if ( rval < (percent_do_op / 2) ) {
|
||||
do_delete(fname, &next_state);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue