diff options
Diffstat (limited to 'datastore-leveldb')
-rw-r--r-- | datastore-leveldb/src/db.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/datastore-leveldb/src/db.cpp b/datastore-leveldb/src/db.cpp index 1ca8d50..991a82e 100644 --- a/datastore-leveldb/src/db.cpp +++ b/datastore-leveldb/src/db.cpp @@ -63,10 +63,9 @@ bool db_insert(std::string& name, const uint64_t timestamp, std::string& value) } void db_close() { - std::cout << "Close Databases: "; auto it = dbs.begin(); while (it != dbs.end()) { - std::cout << (*it).first << ". "; + std::cout << "Close Database: " << (*it).first << std::endl; delete (*it).second; dbs.erase(it++); //post increment! } |