projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
396e9aa
)
Do not use sync(2) after commit. The fsync on individual files suffices.
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 29 Sep 2006 07:05:44 +0000
(07:05 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 29 Sep 2006 07:05:44 +0000
(07:05 +0000)
index/zebraapi.c
patch
|
blob
|
history
diff --git
a/index/zebraapi.c
b/index/zebraapi.c
index
c944c96
..
f54589b
100644
(file)
--- a/
index/zebraapi.c
+++ b/
index/zebraapi.c
@@
-1,4
+1,4
@@
-/* $Id: zebraapi.c,v 1.228 2006-09-21 20:22:34 adam Exp $
+/* $Id: zebraapi.c,v 1.229 2006-09-29 07:05:44 adam Exp $
Copyright (C) 1995-2006
Index Data ApS
@@
-2027,9
+2027,6
@@
static ZEBRA_RES zebra_commit_ex(ZebraHandle zh, int clean_only)
yaz_log (YLOG_DEBUG, "commit start");
bf_commitExec (bfs);
-#ifndef WIN32
- sync ();
-#endif
}
seqno++;
zebra_set_state (zh, 'o', seqno);