Hi, How can I reproduce this problem?
Best Regards, Luca Garulli Founder & CEO OrientDB <http://orientdb.com/> On 25 February 2016 at 20:00, Saltık Buğra Avcı <[email protected]> wrote: > untill orientdb-2.1.11 version > my queries worked well .. > when i changed to it .. 2.1.11 > i couldn't get the resultset .. > the problem is i think in if which calls result.isEmpty() ( this is the > difference between lines from other versions) > > OSQLSyncQuery > List<T> run(final Object... iArgs){ > /** > result.isEmpty() waits here > */ > if (result.isEmpty() && res != result && res != null) { > Iterator<Object> iter = res.iterator(); > while (iter.hasNext()) { > Object item = iter.next(); > result.add((T) item); > } > } > > ((OResultSet) result).setCompleted(); > } > > > result.isEmpty() is > > @Override > public boolean isEmpty() { > boolean empty = underlying.isEmpty(); > if (empty) { > waitForCompletion(); > empty = underlying.isEmpty(); > } > return empty; > } > > > > > so it start to wait > ... > to stop wait required to call method > > ((OResultSet) result).setCompleted(); > > > but this method never calls. > > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
