AlexeyDsov/onphp-framework — comment on commit cac734627dbd9e3e978073de3d1c3ab3430389fc
File:  line 0
By ssserj:

Увы...
http://www.sqlite.org/datatype3.html
SQLite does not have a separate Boolean storage class. Instead, Boolean values are stored as integers 0 (false) and 1 (true).

В общем, этот фикс делает OSQL более "умным".