On Friday, 3 January, 2020 11:32, sky5w...@gmail.com wrote: > Is there a query function for these and other config settings? > I see no sqlite3_config_get() in sqlite3.h.
No. There are config options to get specific config data where that might be useful. Otherwise, you simply set the configuration to match your requirements. That is, if you need to have configuration X, Y, and Z then just set it the way you want it. Either the configuration is set that way or you get an error return (you do check return codes right, that is what they are for). There is not really much point in doing "if memstatus is on turn it off" when you can just turn it off. -- The fact that there's a Highway to Hell but only a Stairway to Heaven says a lot about anticipated traffic volume. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users