Commit 868a5dd8 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Shorten the trace. Addresses #162.

git-svn-id: file:///svn/tokudb@1063 c7de825b-a66e-492c-adef-691d508d4ae1
parent be6b85b0
......@@ -231,6 +231,7 @@ void setup_for_db_create (void) {
}
#if 0
static int count_entries (const char *dbcname, DB *db) {
DBC *dbc;
int r = db->cursor(db, null_txn, &dbc, 0); CKERR(r);
......@@ -247,6 +248,7 @@ static int count_entries (const char *dbcname, DB *db) {
r=dbc->c_close(dbc); CKERR(r);
return n_found;
}
#endif
int oppass=0, opnum=0;
......@@ -461,8 +463,8 @@ int main (int argc, const char *argv[]) {
case MODE_MORE:
oppass=2;
create_databases();
calc_n_items = count_all_items = count_entries("dbc", dbp);
//printf("%s:%d n_items initially=%d\n", __FILE__, __LINE__, count_all_items);
calc_n_items = count_all_items = 14;//count_entries("dbc", dbp);
fprintf(stderr, "%s:%d n_items initially=%d\n", __FILE__, __LINE__, count_all_items);
{
const int n_activities = 100;
int i;
......
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