-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sander Jansen wrote:
> Ok, thanks. The reason I am asking this of course is whether this a
> common thing to occur. I assumed the statement would always be
> non-NULL if the prepare command return SQLITE_OK. I'll adjust my code
> to assume it might be null and only raise error when prepare itself
> returns an error as well.

Prepare also returns NULL if the statement is empty/pure whitespace.
Sadly step returns an error on being passed NULL.  If you do any form of
statement caching or user entered queries then you'll also get these nulls.

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF58FAmOOfHg372QQRAgMMAJ41Jkd6EpKkh/gewZmrW/g47USHHgCbBQeG
mOepO9A42g3Qe9m4VmN1B9I=
=dBDD
-----END PGP SIGNATURE-----

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to