Callback to use with ksqlite.capi.sqlite3_busy_handler.
Details on parameters and result can be found here.