SQLiteCpp icon indicating copy to clipboard operation
SQLiteCpp copied to clipboard

Sqlite Configuration Options

Open ghost opened this issue 10 years ago • 2 comments

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.

ghost avatar May 29 '15 15:05 ghost

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.

ghost avatar May 29 '15 15:05 ghost

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!

SRombauts avatar Jun 01 '15 05:06 SRombauts