On 29/1/62 23:18, Chris Brody wrote:
I think my sample code should have read as follows:
To activate the "defensive" flag for a database connection:
sqlite3_db_config(db, SQLITE_DBCONFIG_DEFENSIVE, 1, NULL);
(I got the wrong prefix before, and I discovered that it crashes if I
do not add the N
I think my sample code should have read as follows:
To activate the "defensive" flag for a database connection:
sqlite3_db_config(db, SQLITE_DBCONFIG_DEFENSIVE, 1, NULL);
(I got the wrong prefix before, and I discovered that it crashes if I
do not add the NULL argument.)
I hope I got this right,
I am very sorry to say that I have found the usage of the
SQLITE_DBCONFIG_DEFENSIVE option to be somewhat confusing.
From my first reading of https://www.sqlite.org/releaselog/3_26_0.html
I thought SQLITE_DBCONFIG_DEFENSIVE was a compile-time option. (I was
proven wrong pretty quickly.)
Then I fo
3 matches
Mail list logo