diff --git a/sqlitecluster/SQLite.cpp b/sqlitecluster/SQLite.cpp index 38684b482..bbe69c248 100644 --- a/sqlitecluster/SQLite.cpp +++ b/sqlitecluster/SQLite.cpp @@ -371,7 +371,7 @@ bool SQLite::beginTransaction(TRANSACTION_TYPE type) { // Reset before the query, as it's possible the query sets these. _autoRolledBack = false; - SDEBUG("[concurrent] Beginning transaction"); + SINFO("[concurrent] Beginning transaction"); uint64_t before = STimeNow(); _insideTransaction = !SQuery(_db, "starting db transaction", "BEGIN CONCURRENT"); @@ -719,7 +719,7 @@ int SQLite::commit(const string& description, function* preCheckpointCal result = SQuery(_db, "committing db transaction", "COMMIT"); _lastConflictPage = _conflictPage; if (_lastConflictPage) { - SINFO("part of last conflcit page: " << _lastConflictPage); + SINFO("part of last conflict page: " << _lastConflictPage); } // If there were conflicting commits, will return SQLITE_BUSY_SNAPSHOT @@ -772,7 +772,7 @@ int SQLite::commit(const string& description, function* preCheckpointCal } SINFO(description << " COMMIT complete in " << time << ". Wrote " << (endPages - startPages) << " pages. WAL file size is " << sz << " bytes. " << _queryCount << " queries attempted, " << _cacheHits - << " served from cache."); + << " served from cache. Used journal " << _journalName); _queryCount = 0; _cacheHits = 0; _dbCountAtStart = 0; diff --git a/sqlitecluster/SQLite.h b/sqlitecluster/SQLite.h index 509ff47fb..2f2124735 100644 --- a/sqlitecluster/SQLite.h +++ b/sqlitecluster/SQLite.h @@ -362,7 +362,7 @@ class SQLite { // Pointer to our SharedData object, which is shared between all SQLite DB objects for the same file. SharedData& _sharedData; - // The name of the journal table that this particular DB handle with write to. + // The name of the journal table that this particular DB handle will write to. string _journalName; // The current size of the journal, in rows. TODO: Why isn't this in SharedData?