On 9/20/2015 9:55 AM, gwenn wrote: > If there is no way to know that the statement has been recompiled, I > guess that the column count should not be cached...
You could use sqlite3_prepare (no _v2), then you'd get an error on schema change. You would then re-prepare the statement and update your caches. -- Igor Tandetnik