Hello, Is there any way to know when a prepared statement is recompiled ? For example:
rc = sqlite3_prepare_v2(db, "SELECT * FROM test", -1, &stmt, NULL); ... cc = sqlite3_column_count(stmt); ... rc = sqlite3_exec(db, "ALTER TABLE test ADD COLUMN data DEFAULT 'missing'", NULL, NULL, NULL); ... rc = sqlite3_step(stmt); // how to know that the column count is not good anymore ? Regards.