Re: [sqlite] Doubtful code in os_unix.c

2007-11-29 Thread drh
"Alexandre Balaban" <[EMAIL PROTECTED]> wrote: > Hello, > > did someone recently tested the unix code with the locking > style enabled ? No. Locking styles are not recommended right now. Watch for updates to that code in a future release. -- D. Richard Hipp <[EMAIL PROTECTED]>

Re: [sqlite] Doubtful code in os_unix.c

2007-11-29 Thread Simon Davies
See http://www.nabble.com/SQLite-3.5.2---Unix---Memory-issue--tf4851124.html Rgds, Simon On 29/11/2007, Alexandre Balaban <[EMAIL PROTECTED]> wrote: > Hello, > > did someone recently tested the unix code with the locking > style enabled ? > I ask because I saw dubious code in this file,

[sqlite] Doubtful code in os_unix.c

2007-11-29 Thread Alexandre Balaban
Hello, did someone recently tested the unix code with the locking style enabled ? I ask because I saw dubious code in this file, specifically : if( pNew==0 ){ close(h); enterMutex(); releaseLockInfo(pNew->pLock); releaseOpenCnt(pNew->pOpen); leaveMutex(); return