Re: [sqlite] sqlite3_open_v2 and sqlite3_prepare_v2 string lifetimes

2019-01-05 Thread Richard Hipp
On 1/5/19, Jesse Rittner wrote: > Is it safe to free the filename string immediately after calling > sqlite3_open_v2? What about the zSql string immediately after calling > sqlite3_prepare_v2? Will it ever cause any problems (like calling the > sqlite3_db_filename or sqlite3_sql methods)? SQLite

[sqlite] sqlite3_open_v2 and sqlite3_prepare_v2 string lifetimes

2019-01-05 Thread Jesse Rittner
Is it safe to free the filename string immediately after calling sqlite3_open_v2? What about the zSql string immediately after calling sqlite3_prepare_v2? Will it ever cause any problems (like calling the sqlite3_db_filename or sqlite3_sql methods)? -- Sent from: