toxicity-io / sqlite-mc

An SQLDelight driver that uses SQLite3MultipleCiphers for database encryption.
Apache License 2.0
10 stars 0 forks source link

Set `MAX_MMAP_SIZE` to 0 #50

Closed 05nelsonm closed 11 months ago

05nelsonm commented 11 months ago

Currently, SQLite3MultipleCiphers is being compiled with -DSQLITE_MAX_MMAP_SIZE=1099511627776 for both native and Jvm. Seems there are issues with that setting when using with encryption. See >> https://github.com/utelle/SQLite3MultipleCiphers/issues/119#issuecomment-1744347255

Need to rebuild using 0 to disable it and not compile with any of that code.