We have worked around this by setting this exact PRAGMA in onConfigure, so that when Room goes to do it, there is no change and therefore doesn't validate sqlite's precondition.
It would be great if Room could update to not set this PRAGMA inside of a transaction.
Description
Version used: 2.0.0
Devices/Android versions reproduced on: SDK 28
We occasionally get a crash from sqlite because something is attempting to set PRAGMA temp_store inside of a transaction. This is not allowed (
We have worked around this by setting this exact PRAGMA in onConfigure, so that when Room goes to do it, there is no change and therefore doesn't validate sqlite's precondition.
It would be great if Room could update to not set this PRAGMA inside of a transaction.
Thanks for your help/consideration!