mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
[t:4126], fix compile of db-benchmark and scanscan
git-svn-id: file:///svn/toku/tokudb@36818 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
0427a4cacd
commit
d59b7aa86b
1 changed files with 2 additions and 2 deletions
|
@ -223,14 +223,14 @@ static void benchmark_setup (void) {
|
|||
assert(r == 0);
|
||||
u_int32_t period;
|
||||
r = dbenv->cleaner_get_period(dbenv, &period);
|
||||
assert(r == 0 && period == cleaner_period);
|
||||
assert(r == 0 && period == (u_int32_t)cleaner_period);
|
||||
}
|
||||
if (cleaner_iterations) {
|
||||
r = dbenv->cleaner_set_iterations(dbenv, cleaner_iterations);
|
||||
assert(r == 0);
|
||||
u_int32_t iterations;
|
||||
r = dbenv->cleaner_get_iterations(dbenv, &iterations);
|
||||
assert(r == 0 && iterations == cleaner_iterations);
|
||||
assert(r == 0 && iterations == (u_int32_t)cleaner_iterations);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue