[grilo-plugins] metadata-store: Fix the update query
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] metadata-store: Fix the update query
- Date: Wed, 17 Oct 2012 10:18:28 +0000 (UTC)
commit 428b15e0935874dbabd477ce1446605b18abf333
Author: AntÃa Puentes <apuentes igalia com>
Date: Wed Oct 17 11:49:33 2012 +0200
metadata-store: Fix the update query
https://bugzilla.gnome.org/show_bug.cgi?id=686282
src/metadata-store/grl-metadata-store.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/metadata-store/grl-metadata-store.c b/src/metadata-store/grl-metadata-store.c
index ac3559a..0754f05 100644
--- a/src/metadata-store/grl-metadata-store.c
+++ b/src/metadata-store/grl-metadata-store.c
@@ -383,7 +383,7 @@ prepare_and_exec_update (sqlite3 *db,
gchar *col_name = (gchar *) iter_names->data;
if (col_name) {
if (count > 0) {
- g_string_append (sql_buf, " AND ");
+ g_string_append (sql_buf, " , ");
}
g_string_append_printf (sql_buf, "%s=?", col_name);
count++;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]