You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2012/12/12 12:12:18 UTC
svn commit: r1420618 -
/manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java
Author: kwright
Date: Wed Dec 12 11:12:18 2012
New Revision: 1420618
URL: http://svn.apache.org/viewvc?rev=1420618&view=rev
Log:
Disable exception if we can't find index, because Derby does not allow this functionality and we have to fake it
Modified:
manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java
Modified: manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java?rev=1420618&r1=1420617&r2=1420618&view=diff
==============================================================================
--- manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java (original)
+++ manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java Wed Dec 12 11:12:18 2012
@@ -290,8 +290,10 @@ public class JobQueue extends org.apache
break;
}
}
- if (getNextDocumentsIndex == null)
- throw new ManifoldCFException("Can't find getnextdocuments index");
+ // Derby doesn't actually allow us to get index columns, so
+ // for Derby, we return null.
+ //if (getNextDocumentsIndex == null)
+ // throw new ManifoldCFException("Can't find getnextdocuments index");
}
return getNextDocumentsIndex;
}