Commit 14674910 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

fix the nightly build, remove /dev/null tracing, refs[t:2309]

git-svn-id: file:///svn/toku/tokudb@17036 c7de825b-a66e-492c-adef-691d508d4ae1
parent 50706594
......@@ -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
......
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