manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1420618 - /manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobQueue.java
Date Wed, 12 Dec 2012 11:12:18 GMT
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;
   }



Mime
View raw message