int hashBase = predicateIndex + predicateTable.offset;
if (predicateTable.table[hashBase-1] < 0) {
int objectIndex = TableIntArraySet2.get(predicateTable.table, hashBase, pRef & 0xFFFF);
- //int objectIndex = predicateTable.getObjectIndex(predicateIndex, pRef & 0xFFFF);
SessionImplSocket session = (SessionImplSocket)graph.getSession();
ClusterSupport support = session.clusterTranslator;
forObjects(graph, resourceKey, predicateKey, objectIndex, procedure, support);
} else {
- procedure.finished(graph);
-// graph.dec();
+ int objectIndex = TableIntSet2.get(predicateTable.table, hashBase, pRef & 0xFFFF);
+ SessionImplSocket session = (SessionImplSocket)graph.getSession();
+ ClusterSupport support = session.clusterTranslator;
+ forObjects(graph, resourceKey, predicateKey, objectIndex, procedure, support);
}
-}
+ }
public <C> void forObjects(ReadGraphImpl graph, int resourceKey, C context, ForEachObjectContextProcedure<C> procedure) throws DatabaseException {
if (deleted) return;