SQLite works by default FULL synchronously. No INI, nothing will change except when connected. However, this needs to be set only once per session, so you can change the connection function to the project to add the command "PRAGMA synchronous = OFF" after connection. This will be the cleanest and fastest approach.
But if you really want SQLite to open your database with default synchronization, you may need to recompile SQLite with a different default value.
For the current version (3.7.3), find the safety_level variable in sqlite.c of the sqlite-amalgamation source:
Edit:
safety_level = 3;
To:
safety_level = 1;
(Yes, this is one of the parameters of the shell). In the openDatabase function (and attachFunc , if you want).
If you really need to speed up this process, as stated in the comments, you will at least consider transactions. This is the preferred solution along the way. It may not be the easiest or the most affordable (time is limited for everyone), but it is cleaner, safer, easiest to maintain in the long run. (I just needed to take it off my chest. Done!)
source share