]> git.mxchange.org Git - flightgear.git/commit
Handle DB-locked errors.
authorJames Turner <zakalawe@mac.com>
Tue, 27 Nov 2012 17:34:52 +0000 (17:34 +0000)
committerJames Turner <zakalawe@mac.com>
Tue, 27 Nov 2012 17:34:52 +0000 (17:34 +0000)
commitc8996d86b8367dfbb30a03fc12a8bd2b647f5985
treef58c7aa914faa63f9cb5926c7d76655c335f1142
parente5286f12173a060bc786fef49e6a58813663f846
Handle DB-locked errors.

When multiple processes (right now, multiple copies of fgfs, but potentially other users in the future) access the navcache, it can cause SQLite to return a 'locked' error, so the request should be re-tried. Add code to do this.
src/Navaids/NavDataCache.cxx