You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2012/02/10 11:45:42 UTC
[lucy-commits] svn commit: r1242731 - /incubator/lucy/trunk/core/Lucy/Index/Indexer.c
Author: nwellnhof
Date: Fri Feb 10 10:45:42 2012
New Revision: 1242731
URL: http://svn.apache.org/viewvc?rev=1242731&view=rev
Log:
Release write lock if no schema is found
Modified:
incubator/lucy/trunk/core/Lucy/Index/Indexer.c
Modified: incubator/lucy/trunk/core/Lucy/Index/Indexer.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/Indexer.c?rev=1242731&r1=1242730&r2=1242731&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/Indexer.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/Indexer.c Fri Feb 10 10:45:42 2012
@@ -116,6 +116,7 @@ Indexer_init(Indexer *self, Schema *sche
}
else {
if (!latest_snapfile) {
+ S_release_write_lock(self);
THROW(ERR, "No Schema supplied, and can't find one in the index");
}
else {