Browse Source

Fix remote hang.

Brian Aker 12 years ago
parent
commit
9bf1579440
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests/sqlite_test.cc

+ 2 - 1
tests/sqlite_test.cc

@@ -114,7 +114,8 @@ static test_return_t collection_init(void *object)
     0 };
 
   Context *test= (Context *)object;
-  assert(test);
+  test_true(test);
+  test->reset();
 
   test_truth(test->initialize(2, argv));
   test_compare(0, access(sql_file.c_str(), R_OK | W_OK ));