From c9c5aa41357e260e2cdec1742f64d2d594f312b8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 13 Apr 2023 20:29:54 +0300 Subject: 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 36350ebeb0..5a287b03ad 100644 --- a/plugins/Dbx_sqlite/src/dbevents.cpp +++ b/plugins/Dbx_sqlite/src/dbevents.cpp @@ -301,7 +301,7 @@ int CDbxSQLite::SetEventJson(MEVENT hDbEvent, const char *szSetting, DBVARIANT * return 1; { mir_cslock lock(m_csDbAccess); - sqlite3_stmt *stmt = InitQuery("UPDATE events SET body=json_set(body, '$.?', ?) WHERE id = ?;", qEvEdit); + sqlite3_stmt *stmt = InitQuery("UPDATE events SET data=json_set(data, '$.?', ?) WHERE id = ?;", qEvEdit); sqlite3_bind_text(stmt, 1, szSetting, (int)mir_strlen(szSetting), nullptr); switch (dbv->type) { case DBVT_BYTE: -- cgit v1.2.3