eda/EDASQLite: Fixed resetting locking mode to normal before closing database
authorJerome St-Louis <jerome@ecere.com>
Sat, 31 May 2014 17:13:04 +0000 (13:13 -0400)
committerJerome St-Louis <jerome@ecere.com>
Sat, 31 May 2014 17:13:04 +0000 (13:13 -0400)
commit55447fdf755f0f06394abedc115ad1b4171158ca
tree3672c72e634dae32c97c8734e985fb0e9a2dbc6c
parentcc5367b6503d448edf94045dd3bc53b5e49a8d69
eda/EDASQLite: Fixed resetting locking mode to normal before closing database
- From http://www.sqlite.org/pragma.html:
Database locks obtained by a connection in EXCLUSIVE mode may be released either by closing the database connection,
or by setting the locking-mode back to NORMAL using this pragma and then accessing the database file (for read or write).
Simply setting the locking-mode to NORMAL is not enough - locks are not released until the next time the database file is accessed.
eda/drivers/sqlite/EDASQLite.ec