[tracker/dbus-fd-experiment: 4/13] Steroids: Properly write STEROIDS_DONE after sending rows
- From: Adrien Bustany <abustany src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/dbus-fd-experiment: 4/13] Steroids: Properly write STEROIDS_DONE after sending rows
- Date: Mon, 24 May 2010 14:29:07 +0000 (UTC)
commit 8941a044dac8bc06e48bd61afe33953415d06745
Author: Adrien Bustany <abustany gnome org>
Date: Fri May 21 12:22:34 2010 -0400
Steroids: Properly write STEROIDS_DONE after sending rows
src/tracker-store/tracker-steroids.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-store/tracker-steroids.c b/src/tracker-store/tracker-steroids.c
index 33f58d1..c0ab655 100644
--- a/src/tracker-store/tracker-steroids.c
+++ b/src/tracker-store/tracker-steroids.c
@@ -247,6 +247,10 @@ query_inthread (TrackerDBCursor *cursor,
}
}
+ page_flush (info);
+ buffer_write_int (info, STEROIDS_RC_DONE);
+ page_flush (info);
+
close (info->fd);
if (loop_error) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]