[tracker] libtracker-db: Fix for table is locked problem
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-db: Fix for table is locked problem
- Date: Fri, 30 Apr 2010 15:32:29 +0000 (UTC)
commit b7aa78f5f165bf74d7ed0e7880eeb3004896e2dd
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]