1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-02 01:06:40 +00:00
openmw/apps
elsid a75c7c49f0
Disable writes to navmeshdb on database is locked error
Simultaneously writing to sqlite3 database is not possible. Process exclusively
locks the database for this. Another process will fail to perform any request
when database is locked. Alternatively it can wait. Handling this situation
properly requires complexity that is not really needed. Users are not expected
to run multiple openmw processes simultaneously using the same navmeshdb.

Before this change running multiple openmw processes using the same navmeshdb
can lead to a crash when first transaction fails to start because there is
exception thrown and not catched.

Remove use of explicit transactions from DbWorker. Handling all possible
transaction states due to different errors brings unnecessary complexity.
Initially they were introduced to increase time between flushes to disk. This
makes sense for navmeshtool because of massive number of writes but for the
engine this is not an issue.
2022-05-09 22:54:46 +02:00
..
benchmarks Move FetchContent for benchmark to extern 2022-01-30 00:44:22 +01:00
bsatool Avoid missusing of CompressedBSAFile with private inheritance 2022-02-27 20:40:35 +01:00
bulletobjecttool Allow relative paths in openmw.cfg; support --replace=config. 2022-04-28 00:39:41 +02:00
esmtool Fix uninitialized coverity warnings 2022-05-01 18:36:16 +02:00
essimporter Remove redundant include from esm3/esmreader.hpp 2022-04-10 22:16:32 +02:00
launcher Make the launcher dara directory and bsa list play nicer with dark 2022-04-28 15:19:54 +02:00
mwiniimporter Avoid extra copy for Utf8Encoder::getUtf8 result 2022-02-14 23:01:32 +01:00
navmeshtool Allow relative paths in openmw.cfg; support --replace=config. 2022-04-28 00:39:41 +02:00
niftest Avoid redundant conversion to const char* and use make_shared 2022-04-10 22:33:08 +02:00
opencs Replace empty std::string assignments 2022-05-04 22:33:39 +02:00
openmw Remove redundant virtual World::adjustSky function 2022-05-08 15:41:53 +02:00
openmw_test_suite Disable writes to navmeshdb on database is locked error 2022-05-09 22:54:46 +02:00
wizard Merge branch 'fix_6627' into 'master' 2022-04-17 17:13:13 +00:00
doc.hpp