[odb-users] Re: sqlite mismatch in result column count

Boris Kolpackov boris at codesynthesis.com
Mon Sep 14 09:50:44 EDT 2015


MM <finjulhich at gmail.com> writes:

> if (b.buffer == 0) { // Skip NULL entries.
> }
> 
> This happens once, and that is why col is 3.

This should only happen if you are using schema evolution support
and this column was soft-deleted. And in this case the corresponding
column from the statement's SELECT-list should have been removed as
well (see statement processing in the init() function in the same
file).

If you are not using schema evolution support, then this is either
a bug in ODB or a memory corruption in your application. Can you
run it under valgrind?

Boris



More information about the odb-users mailing list