Lock the data file mutex before the advisory lock.
commit0faca25ba2c56aa32ae296b619b8286ee32931c0
authorBen Kibbey <bjk@luxsci.net>
Thu, 20 Aug 2015 01:11:45 +0000 (19 21:11 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sat, 29 Aug 2015 14:53:10 +0000 (29 10:53 -0400)
tree7fffe606ded2a3450277080de526e7fc70416eea
parent34c301ded06fa0bd5db2bd6f838a75fbd244ae76
Lock the data file mutex before the advisory lock.

Fixes SAVE in one client while another is waiting to OPEN the same data
file.
src/commands.c