From e61c80db0c23c38666f4412e01619d8815bb0696 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 18 Dec 2022 13:17:58 +0100 Subject: [PATCH] Fix logic. --- modules/database_sqlite/sqlite3_query_builder.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/database_sqlite/sqlite3_query_builder.cpp b/modules/database_sqlite/sqlite3_query_builder.cpp index 3b4477203..2b07ede3f 100644 --- a/modules/database_sqlite/sqlite3_query_builder.cpp +++ b/modules/database_sqlite/sqlite3_query_builder.cpp @@ -213,9 +213,10 @@ QueryBuilder *SQLite3QueryBuilder::cset() { return this; } QueryBuilder *SQLite3QueryBuilder::nsetp(const String &col, const String ¶m) { - query_result += col + "='"; - query_result += col + param; - query_result += col + "', "; + query_result += col; + query_result += "='"; + query_result += param; + query_result += "', "; return this; }