}
}
- public static void waitPending(ReadGraphImpl graph, CacheEntry entry) throws DatabaseException {
-
- QueryProcessor processor = graph.processor;
+ public static void waitPending(QueryProcessor processor, CacheEntry entry) throws DatabaseException {
int counter = 0;
while(entry.isPending()) {
try {
- SessionTask task = processor.getOwnTask(processor.thread.get());
+ SessionTask task = null;//processor.getOwnTask(processor.thread.get());
if(task != null) {
task.run(processor.thread.get());
} else {