Re: [sqlite] Statement cache does not play well with sqlite3_stmt_readonly

2014-06-03 Thread gwenn
Ok, Thanks. On Tue, Jun 3, 2014 at 8:42 PM, Richard Hipp wrote: > On Tue, Jun 3, 2014 at 2:27 PM, gwenn wrote: > >> Hello, >> The function "sqlite3_stmt_readonly" returns true/1 for the statement >> "DROP TABLE IF EXISTS test" when the table "test" does not exist. >> But, if this drop statement

Re: [sqlite] Statement cache does not play well with sqlite3_stmt_readonly

2014-06-03 Thread Richard Hipp
On Tue, Jun 3, 2014 at 2:27 PM, gwenn wrote: > Hello, > The function "sqlite3_stmt_readonly" returns true/1 for the statement > "DROP TABLE IF EXISTS test" when the table "test" does not exist. > But, if this drop statement is cached, "sqlite3_stmt_readonly" still > returns true even after creati

[sqlite] Statement cache does not play well with sqlite3_stmt_readonly

2014-06-03 Thread gwenn
Hello, The function "sqlite3_stmt_readonly" returns true/1 for the statement "DROP TABLE IF EXISTS test" when the table "test" does not exist. But, if this drop statement is cached, "sqlite3_stmt_readonly" still returns true even after creating the table "test". The only way I've found to make "sql