https://www.sqlite.org/c3ref/c_dbconfig_enable_fkey.html
The prototype is effectively
int sqlite3_db_config(sqlite3* db, int SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE, int 
on, int* value)
where

on: >0 == disable, 0 == enable, <0=GET CURRENT VALUE
value: optional, if not nullptr then on success contains 0=enabled, 1=disabled

The docs don't mention passing the 1st parm (on) = -1 to get the current value, 
nor do they mention the 2nd parm (value) is optional (pass nullptr to ignore)


  *   Howard
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to