SQLiteCpp
SQLiteCpp copied to clipboard
Sqlite Configuration Options
Hi SRombauts, It seems helpful to add configuration options in Database's constructor, isn't it? Please see http://www.sqlite.org/c3ref/c_config_getmalloc.html for details.
Here are some mode to use on different occasions: SQLITE_CONFIG_SINGLETHREAD This option sets the threading mode to Single-thread. SQLITE_CONFIG_MULTITHREAD This option sets the threading mode to Multi-thread. SQLITE_CONFIG_SERIALIZED This option sets the threading mode to Serialized.
Hi, thanks for all your suggestions, I'll take some time to think and answer them.
I mostly don't want to break existing API since I know released 1.x
Cheers!