diff options
author | George Hazan <ghazan@miranda.im> | 2021-04-15 11:22:54 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-04-15 11:22:54 +0300 |
commit | 482874d1a1e264984461d92f5bf77f3bdba1afa1 (patch) | |
tree | e4a80cde241c0c58ff5b5b8da6ebd6a9a10811bb /plugins/Dbx_sqlite/src/dbcheck.cpp | |
parent | cbad4c760c68777c81015fa913479e70c36c9ca3 (diff) |
fixes #2847 (DbChecker находит ошибки, но после их исправления они остаются)
Diffstat (limited to 'plugins/Dbx_sqlite/src/dbcheck.cpp')
-rw-r--r-- | plugins/Dbx_sqlite/src/dbcheck.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_sqlite/src/dbcheck.cpp b/plugins/Dbx_sqlite/src/dbcheck.cpp index a1c94abf29..6a75178cf8 100644 --- a/plugins/Dbx_sqlite/src/dbcheck.cpp +++ b/plugins/Dbx_sqlite/src/dbcheck.cpp @@ -82,7 +82,7 @@ int CDbxSQLite::CheckPhase4() while (sqlite3_step(pQuery) == SQLITE_ROW) { MCONTACT hContact = sqlite3_column_int(pQuery, 0); auto *szModule = (const char *)sqlite3_column_text(pQuery, 1); - auto *szSetting = (const char *)sqlite3_column_text(pQuery, 1); + auto *szSetting = (const char *)sqlite3_column_text(pQuery, 2); cb->pfnAddLogMessage(STATUS_ERROR, CMStringW(FORMAT, TranslateT("Orphaned setting [%S:%S] with wrong contact ID %d, deleting"), szModule, szSetting, hContact)); DeleteContactSettingWorker(hContact, szModule, szSetting); |