SQLite Forum

Prepared Statements
Login
><b>SQLite also stores the text of the query</b> and automatically re-prepares it after a schema change

Is the text stored <i>after</i> the parameter substitutions or is it the version <i>before</i> preparation?

It might be

<u>When</u>|<u>Why?</u>
<b>after</b>|since the next API will be sqlite3_exec to execute
<b>before</b>|if <i> SQLite3 automatically re-prepares it after a schema change </i> applies.

Which?