From 28abd66a73d2ae187b86a9b47ea45905d63e0aff Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 17 Jul 2023 13:46:47 +0300 Subject: Dbx_sqlite: typo fix --- plugins/Dbx_sqlite/src/dbevents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Dbx_sqlite/src/dbevents.cpp') diff --git a/plugins/Dbx_sqlite/src/dbevents.cpp b/plugins/Dbx_sqlite/src/dbevents.cpp index c7e05e44a3..c8185fc815 100644 --- a/plugins/Dbx_sqlite/src/dbevents.cpp +++ b/plugins/Dbx_sqlite/src/dbevents.cpp @@ -295,7 +295,7 @@ int CDbxSQLite::SetEventJson(MEVENT hDbEvent, const char *szSetting, DBVARIANT * CMStringA tmp(FORMAT, "$.%s", szSetting); { mir_cslock lock(m_csDbAccess); - sqlite3_stmt *stmt = InitQuery("UPDATE events SET data=json_set(data, ?, ?) WHERE id = ?;", qEvEdit); + sqlite3_stmt *stmt = InitQuery("UPDATE events SET data=json_set(data, ?, ?) WHERE id = ?;", qEvSetJson); sqlite3_bind_text(stmt, 1, tmp, tmp.GetLength(), nullptr); switch (dbv->type) { -- cgit v1.2.3