Browse Source

Merge branch 'trac1444'

Mukund Sivaraman 11 years ago
parent
commit
381aca0b35

+ 2 - 1
src/lib/datasrc/sqlite3_accessor.cc

@@ -566,7 +566,8 @@ SQLite3Accessor::open(const std::string& name) {
 }
 
 SQLite3Accessor::~SQLite3Accessor() {
-    LOG_DEBUG(logger, DBG_TRACE_BASIC, DATASRC_SQLITE_DROPCONN);
+    LOG_DEBUG(logger, DBG_TRACE_BASIC, DATASRC_SQLITE_DROPCONN)
+        .arg(database_name_);
     if (dbparameters_->db_ != NULL) {
         close();
     }

+ 3 - 2
src/lib/datasrc/sqlite3_datasrc_messages.mes

@@ -42,8 +42,9 @@ Debug information. An instance of SQLite data source is being created.
 % DATASRC_SQLITE_DESTROY SQLite data source destroyed
 Debug information. An instance of SQLite data source is being destroyed.
 
-% DATASRC_SQLITE_DROPCONN SQLite3Database is being deinitialized
-The object around a database connection is being destroyed.
+% DATASRC_SQLITE_DROPCONN SQLite3 database '%1' is being closed
+The object around a database connection is being destroyed. If the
+SQLite3 database file was open, it will be closed now.
 
 % DATASRC_SQLITE_ENCLOSURE looking for zone containing '%1'
 Debug information. The SQLite data source is trying to identify which zone