Comment 3 for bug 1133093

Revision history for this message
Andrew McDonnell (andymc73) wrote :

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?