mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
fix the nightly build, remove /dev/null tracing, refs[t:2309]
git-svn-id: file:///svn/toku/tokudb@17036 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
1726f9927b
commit
15ffb96f7d
1 changed files with 0 additions and 5 deletions
|
@ -222,7 +222,6 @@ static void scanscan_lwc (void) {
|
|||
#endif
|
||||
|
||||
static void scanscan_range (void) {
|
||||
int fnull = open(DEV_NULL_FILE, O_WRONLY); assert(fnull >= 0); // use with strace
|
||||
int r;
|
||||
double tstart = gettime();
|
||||
DBC *dbc;
|
||||
|
@ -241,9 +240,7 @@ static void scanscan_range (void) {
|
|||
DBT val; memset(&val, 0, sizeof val);
|
||||
|
||||
// set the cursor to the random key
|
||||
write(fnull, "s", 1);
|
||||
r = dbc->c_get(dbc, &key, &val, DB_SET_RANGE+lock_flag); assert(r==0);
|
||||
write(fnull, "e", 1);
|
||||
|
||||
#if 0
|
||||
long rowcounter=0;
|
||||
|
@ -260,8 +257,6 @@ static void scanscan_range (void) {
|
|||
double tend = gettime();
|
||||
double tdiff = tend-tstart;
|
||||
printf("Range %d %f\n", n_experiments, tdiff);
|
||||
|
||||
close(fnull);
|
||||
}
|
||||
|
||||
#ifdef TOKUDB
|
||||
|
|
Loading…
Add table
Reference in a new issue