Setting SQLite compile time parameters from etc.c.sqlite3
data pulverizer
data.pulverizer at gmail.com
Tue Mar 1 21:55:45 UTC 2022
On Tuesday, 1 March 2022 at 20:59:46 UTC, data pulverizer wrote:
> Hello all,
>
> I'm not sure how to set the compile time parameters in D's
> SQLite module particular the items that take multiple
> parameters, for example in the C API manual
> `SQLITE_CONFIG_MMAP_SIZE` takes two `sqlite3_int64`. How do I
> set these?
Okay it seems like you are supposed to use the function
`sqlite3_config` to configure those elements, for example:
```
sqlite3_config(SQLITE_CONFIG_MMAP_SIZE,
10_000_000_000, 30_000_000_000);
```
More information about the Digitalmars-d-learn
mailing list