commit 3feff1f87f7a948cc89a074abc7dd9562258c1cb
parent c222f0e8b09187200ee3f4f4a787849ca904d0d7
Author: William Casarin <jb55@jb55.com>
Date: Sun, 24 Sep 2023 15:39:08 -0700
log: cleanup logs
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/nostrdb.c b/nostrdb.c
@@ -1089,7 +1089,7 @@ static void ndb_write_version(struct ndb_lmdb *lmdb, MDB_txn *txn, uint64_t vers
return;
}
- fprintf(stderr, "writing version %" PRIu64 "\n", version);
+ //fprintf(stderr, "writing version %" PRIu64 "\n", version);
}
static void *ndb_writer_thread(void *data)
diff --git a/test.c b/test.c
@@ -55,20 +55,20 @@ static void test_profile_search(struct ndb *ndb)
assert(ndb_begin_query(ndb, &txn));
assert(ndb_search_profile(&txn, &search, "jean"));
- print_search(&txn, &search);
+ //print_search(&txn, &search);
profile = lookup_profile(&txn, search.profile_key);
name = NdbProfile_name_get(profile);
assert(!strncmp(name, "jean", 4));
assert(ndb_search_profile_next(&search));
- print_search(&txn, &search);
+ //print_search(&txn, &search);
profile = lookup_profile(&txn, search.profile_key);
name = NdbProfile_name_get(profile);
//assert(strncmp(name, "jean", 4));
for (i = 0; i < 3; i++) {
ndb_search_profile_next(&search);
- print_search(&txn, &search);
+ //print_search(&txn, &search);
}
//assert(!strcmp(name, "jb55"));