commit | b2e608d27d5ba09c9cde4b967a219276d3aa9c9e | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Jan 23 20:00:53 2013 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Jan 23 20:00:53 2013 -0800 |
tree | 647cc9f53866169f29d88ef5129d9acf7325958b | |
parent | 13d224dd4787b1ea943d1189b6a058810fe88732 [diff] [blame] |
Put begin transaction/end transaction into contructor/destructor of ObjectDb
diff --git a/src/object-db.h b/src/object-db.h index 8591096..f60e504 100644 --- a/src/object-db.h +++ b/src/object-db.h
@@ -47,7 +47,14 @@ static bool DoesExist (const boost::filesystem::path &folder, const Ccnx::Name &deviceName, const std::string &hash); - + +private: + void + willStartSave (); + + void + didStopSave (); + private: sqlite3 *m_db; };