Compare commits

..

2 Commits

Author SHA1 Message Date
Vincent Riquer
4e59449d40 Exclusively lock database 2025-01-21 00:31:06 +01:00
Vincent Riquer
3f26d983c8 Force temp table to memory 2025-01-21 00:22:28 +01:00

View File

@ -17,5 +17,9 @@ openDatabase() {
echo '.separator ::AtOM:SQL:Sep::' >&3 echo '.separator ::AtOM:SQL:Sep::' >&3
echo 'PRAGMA foreign_keys = ON;' >&3 echo 'PRAGMA foreign_keys = ON;' >&3
echo 'PRAGMA recursive_triggers = ON;' >&3 echo 'PRAGMA recursive_triggers = ON;' >&3
echo 'PRAGMA temp_store = 2;' >&3
echo 'PRAGMA locking_mode = EXCLUSIVE;' >&3
read -u4
unset REPLY
checkDatabaseVersion checkDatabaseVersion
} }