On Thu, Jul 5, 2012 at 3:06 AM, <mc...@ukr.net> wrote:

>
>
>
> In file os_win.c in line 2052 must be:
> if( locktype==PENDING_LOCK && res ){
> instead of:
> if( locktype==EXCLUSIVE_LOCK && res ){
>

No.  Code is correct as written.  The SQLite core never actually requests a
PENDING lock.  PENDING is only an intermediate state on the way toward
EXCLUSIVE.  So locktype will never equal PENDING_LOCK.  The code in
question is simply advancing the lock state through the required
intermediate PENDING state.



> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to