diff options
Diffstat (limited to 'slicer/db/testPatch.cpp')
-rw-r--r-- | slicer/db/testPatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slicer/db/testPatch.cpp b/slicer/db/testPatch.cpp index e9dda4d..294d218 100644 --- a/slicer/db/testPatch.cpp +++ b/slicer/db/testPatch.cpp @@ -27,7 +27,7 @@ BOOST_AUTO_TEST_CASE( insert_builtins ) TestModule::BuiltInsPtr(new TestModule::BuiltIns(true, 6, 18, 0, 130, 3.4, 5.6, "even more text")) }; DB::TablePatch tp; - DB::TransactionScope tx(db); + DB::TransactionScope tx(*db); tp.dest = "builtins"; Slicer::SerializeAny<Slicer::SqlTablePatchSerializer>(bis, db, tp); auto cmd = db->select("SELECT COUNT(*) FROM builtins"); |