1
0
mirror of https://github.com/sqlite/sqlite.git synced 2026-01-06 08:01:16 +03:00

Fix a race condition in the locking code that would sometimes cause

SQLITE_PROTOCOL or SQLITE_CORRUPT to be returned when SQLITE_BUSY should
have been returned. (CVS 326)

FossilOrigin-Name: b0d218876442187af08161d989e6887b1cb4130c
This commit is contained in:
drh
2001-12-14 15:09:55 +00:00
parent 6a6cfb9b31
commit a7fcb05988
8 changed files with 267 additions and 228 deletions

View File

@@ -17,6 +17,13 @@ proc chng {date desc} {
puts "<DD><P><UL>$desc</UL></P></DD>"
}
chng {2001 Dec 14 (2.1.6)} {
<li>Fix the locking mechanism yet again to prevent
<b>sqlite_exec()</b> from returning SQLITE_PROTOCOL
unnecessarily. This time the bug was a race condition in
the locking code. This change effects both POSIX and Windows users.</li>
}
chng {2001 Dec 6 (2.1.5)} {
<li>Fix for another problem (unrelated to the one fixed in 2.1.4)
that sometimes causes <b>sqlite_exec()</b> to return SQLITE_PROTOCOL