[tracker/rss-enclosures] libtracker-db: Fix for table is locked problem
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] libtracker-db: Fix for table is locked problem
- Date: Mon, 3 May 2010 00:48:52 +0000 (UTC)
commit 17c09da8262b27d5c41095ab502d4b7f5ad6295f
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Apr 30 17:31:20 2010 +0200
libtracker-db: Fix for table is locked problem
src/libtracker-db/tracker-db-interface-sqlite.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-interface-sqlite.c b/src/libtracker-db/tracker-db-interface-sqlite.c
index 6344aab..46243ce 100644
--- a/src/libtracker-db/tracker-db-interface-sqlite.c
+++ b/src/libtracker-db/tracker-db-interface-sqlite.c
@@ -1191,7 +1191,7 @@ tracker_db_cursor_sqlite_iter_next (TrackerDBCursor *cursor,
if (!priv->finished) {
guint result = SQLITE_BUSY;
- while (result == SQLITE_BUSY || result == SQLITE_IOERR_BLOCKED) {
+ while (result == SQLITE_BUSY || result == SQLITE_LOCKED || result == SQLITE_IOERR_BLOCKED) {
result = sqlite3_step (priv->stmt);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]