[odb-users] SQLite data migration null pointer

Alexander Igorevich alejandro_pnz at icloud.com
Wed Jan 18 02:15:59 EST 2017

Hi all. I have a next problem: during making schema migration from one version to other, in file schema-catalog.cxx: on line 181 crashes with null ptr.
In that migration (2nd) I’ve add two new classes, that inherit from base class from 1st version.
Base class has pragma:

#pragma db model version(1, 1, closed)

Child classes pragma’s:

#pragma db model version(2, 2, open)

Please help with this crash.

P.S.: debug screenshot

More information about the odb-users mailing list