[EMAIL PROTECTED] writes:

> QUESTION 1: sqlite3_prepare_v2 is the merely the working name
> for the new function.  What should the official name be?
> Some possibilities include:
>
>     sqlite3_prepare_ex1
>     sqlite3_prepare_ng
>     sqlite3_new_prepare
>     sqlite3_compile

sqlite3_compile works for me.

> QUESTION 2: Are there any other API warts that need to be
> worked around that can be fixed by this same change?

I'll continue to think about it, but none that I can think of off hand.

> QUESTION 3: Suppose there is a schema change and the SQL
> statement is automatically reprepared. But the schema change
> is such that the SQL is no longer valid.  (Perhaps one of the
> tables mentioned in a SELECT statement was dropped.) What
> error code should sqlite3_step() return in that case?

This seems an appropriate use of SQLITE_SCHEMA.

Cheers,

Derrell

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

Reply via email to