[tracker] Bugfix column ID in fts should be rowid instead
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker] Bugfix column ID in fts should be rowid instead
- Date: Fri, 17 Jul 2009 13:16:56 +0000 (UTC)
commit 18d417598fa98743cc1721ff7d6950ce0872d2e4
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Jul 17 15:16:27 2009 +0200
Bugfix column ID in fts should be rowid instead
src/libtracker-data/tracker-data-update.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index 0cad1bb..039bc95 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -780,7 +780,7 @@ tracker_data_delete_statement (const gchar *subject,
g_object_unref (stmt);
if (strcmp (tracker_class_get_name (class), "rdfs:Resource") == 0) {
- stmt = tracker_db_interface_create_statement (iface, "DELETE FROM \"fts\" WHERE ID = ?");
+ stmt = tracker_db_interface_create_statement (iface, "DELETE FROM \"fts\" WHERE rowid = ?");
tracker_db_statement_bind_int (stmt, 0, subject_id);
tracker_db_statement_execute (stmt, NULL);
g_object_unref (stmt);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]