[tracker] tracker-fts: Add tracker_fts_update_rollback function
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] tracker-fts: Add tracker_fts_update_rollback function
- Date: Tue, 1 Sep 2009 10:11:26 +0000 (UTC)
commit 329b8d45152a2bf4be75ad64b49d73b5937fccdf
Author: Jürg Billeter <j bitron ch>
Date: Tue Sep 1 12:06:47 2009 +0200
tracker-fts: Add tracker_fts_update_rollback function
src/tracker-fts/tracker-fts.c | 4 ++++
src/tracker-fts/tracker-fts.h | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-fts/tracker-fts.c b/src/tracker-fts/tracker-fts.c
index 5e644ff..20863c5 100644
--- a/src/tracker-fts/tracker-fts.c
+++ b/src/tracker-fts/tracker-fts.c
@@ -7839,6 +7839,10 @@ void tracker_fts_update_commit(void){
fulltextCommit((sqlite3_vtab *) tracker_fts_vtab);
}
+void tracker_fts_update_rollback(void){
+ fulltextRollback((sqlite3_vtab *) tracker_fts_vtab);
+}
+
gchar *
tracker_fts_get_drop_fts_table_query (void)
{
diff --git a/src/tracker-fts/tracker-fts.h b/src/tracker-fts/tracker-fts.h
index 3f953a9..b39c4c5 100644
--- a/src/tracker-fts/tracker-fts.h
+++ b/src/tracker-fts/tracker-fts.h
@@ -26,6 +26,7 @@ int tracker_fts_init (sqlite3 *db);
int tracker_fts_update_init (int id);
int tracker_fts_update_text (int id, int column_id, const char *text);
void tracker_fts_update_commit (void);
+void tracker_fts_update_rollback (void);
gchar * tracker_fts_get_create_fts_table_query (void);
gchar * tracker_fts_get_drop_fts_table_query (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]