oqgraph-dev team mailing list archive
-
oqgraph-dev team
-
Mailing list archive
-
Message #00213
[Bug 1133093] Re: Crash on ORDER BY in OQGRAPH v3
perhaps cursor is invalid...?
no,
line 945... of graphcore.cc
void oqgraph::row_ref(void *ref_ptr) throw()
{
reference &ref= *(reference*) ref_ptr; <-- ref ends up having junk (0xa5a5a5a5) in it
if (cursor)
cursor->current(ref);
else
ref= reference();
}
So, looking at what I can find on mysql: position() gets called after each rnd_next()
So maybe our bug is in there...
So using the debugger, it appears rnd_next() is NOT called in this case?
--
You received this bug notification because you are a member of OQgraph
developers, which is a bug assignee.
https://bugs.launchpad.net/bugs/1133093
Title:
Crash on ORDER BY in OQGRAPH v3
Status in OQGraph Engine for MariaDB:
Triaged
Bug description:
SELECT * FROM graph WHERE latch=1 AND origid=1 AND destid=6;
works
SELECT * FROM graph WHERE latch=1 AND origid=1 AND destid=6 ORDER BY seq;
segfaults.
To manage notifications about this bug go to:
https://bugs.launchpad.net/oqgraph/+bug/1133093/+subscriptions
References