Well, I told you I'm getting SQLITE_MISUSE so that kinda answers your side question? I am only interested in this topic for the performance gain so quoted. I need to create a personal test case(my use model) to verify these statements. Querying the config state is helpful for a dll wrapped database, but I can adapt without the '_get()' function.
On Fri, Jan 3, 2020 at 2:02 PM Keith Medcalf <kmedc...@dessus.com> wrote: > > 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 > _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users