Metze pointed out an error in backing out already acquired Windows locks in a lockingX call if we get an error.
Created attachment 4400 [details]
Metze's patch for 3.4.x.
Created attachment 4401 [details]
Metze's patch, back ported to 3.3
The patch for 3.4 has the same line twice in the commit message...
Don't know how that happened. Bloody git :-).
Created attachment 4408 [details]
Metze's patch for 3.4.x - commit message fixed.
Pushed to v3-4-test.
Closing out bug report.