summaryrefslogtreecommitdiff
path: root/plugins/Dbx_sqlite/src/dbevents.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-04-13 20:29:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-04-13 20:29:54 +0300
commitc9c5aa41357e260e2cdec1742f64d2d594f312b8 (patch)
tree514e6448510283e05337a5785d148a0c1bd46318 /plugins/Dbx_sqlite/src/dbevents.cpp
parent3e4d98219d4e71ff2bf1ab093e31ffe355204b4e (diff)
typo fix
Diffstat (limited to 'plugins/Dbx_sqlite/src/dbevents.cpp')
-rw-r--r--plugins/Dbx_sqlite/src/dbevents.cpp2
1 files changed, 1 insertions, 1 deletions
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: