Author: j16sdiz
Date: 2008-12-11 06:32:07 +0000 (Thu, 11 Dec 2008)
New Revision: 24193
Modified:
trunk/plugins/XMLSpider/XMLSpider.java
Log:
commit before making index
Modified: trunk/plugins/XMLSpider/XMLSpider.java
===================================================================
--- trunk/plugins/XMLSpider/XMLSpider.java 2008-12-11 06:31:56 UTC (rev
24192)
+++ trunk/plugins/XMLSpider/XMLSpider.java 2008-12-11 06:32:07 UTC (rev
24193)
@@ -1352,6 +1352,10 @@
private boolean mustWriteIndex = false;
public void makeIndex() throws Exception {
+ synchronized(this) {
+ db.commit();
+ }
+
try {
synchronized(this) {
if(!mustWriteIndex) {
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs