[sqlite] NULL sqlite3_stmt in function calls

2012-05-16 Thread Baruch Burstein
Are all API functions that accept an sqlite3_stmt* safe (=NO-OPs) to call with a NULL pointer? I mean things like bind, column, etc. -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı ___ sqlite-users mailing list sqlite-users@sqlite.org

Re: [sqlite] NULL sqlite3_stmt in function calls

2012-05-16 Thread Richard Hipp
On Wed, May 16, 2012 at 7:16 AM, Baruch Burstein bmburst...@gmail.comwrote: Are all API functions that accept an sqlite3_stmt* safe (=NO-OPs) to call with a NULL pointer? I mean things like bind, column, etc. No. sqlite3_finalize() is, but most others are not. -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ