Closed GoogleCodeExporter closed 9 years ago
I've started looking.... everything seems fine, I cannot understand clearly
when the
native code invalidates the VdbeCursor yet.
I plan to run and debug the native code soon.
Original comment by enzinol@gmail.com
on 5 Sep 2009 at 3:35
Found it.
The culprit is static byte[] fetchPayload(...)
The semantic of native C code is to return a pointer to the data while in C#
the data
is getting copied. So even if the cursor points to the right cell, when
returning
from test_eval stale data is used to continue the evaluation.
Next: thinking about a fix.
Original comment by enzinol@gmail.com
on 5 Sep 2009 at 5:52
Attaching the fix (updated at 1.00PM PDT)
Original comment by enzinol@gmail.com
on 9 Sep 2009 at 12:12
Attachments:
Fixed with 9/13 checkin
Original comment by noah.hart@gmail.com
on 13 Sep 2009 at 2:16
Original issue reported on code.google.com by
noah.hart@gmail.com
on 8 Aug 2009 at 2:37