better use UNQLITE_OK as there may be other errors