Commit 3ca88c36 authored by Rich Prohaska's avatar Rich Prohaska

test Db::associate closes #226 closes #234

git-svn-id: file:///svn/tokudb@1431 c7de825b-a66e-492c-adef-691d508d4ae1
parent c24afe01
...@@ -32,3 +32,5 @@ check: $(TARGETS) ...@@ -32,3 +32,5 @@ check: $(TARGETS)
diff foo.out foo.expectout diff foo.out foo.expectout
$(VGRIND) ./exceptions $(VGRIND) ./exceptions
$(VGRIND) ./test_no_env $(VGRIND) ./test_no_env
$(VGRIND) ./test_db_assoc3
$(VGRIND) ./test_db_assoc3 --more
...@@ -230,10 +230,10 @@ void close_databases (void) { ...@@ -230,10 +230,10 @@ void close_databases (void) {
} }
if (nc_key.get_data()) free(nc_key.get_data()); if (nc_key.get_data()) free(nc_key.get_data());
if (nc_data.get_data()) free(nc_data.get_data()); if (nc_data.get_data()) free(nc_data.get_data());
r = namedb->close(0); CKERR(r); r = namedb->close(0); CKERR(r); delete namedb;
r = dbp->close(0); CKERR(r); r = dbp->close(0); CKERR(r); delete dbp;
r = expiredb->close(0); CKERR(r); r = expiredb->close(0); CKERR(r); delete expiredb;
r = dbenv->close(0); CKERR(r); r = dbenv->close(0); CKERR(r); delete dbenv;
} }
......
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