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 SQLITE_NOMEM;
  }else{

Which will lead to a crash for sure.

I'm in process to update my AmigaOS4 port of version 3.3.18 to
latest code and I am using the unix source as a reference
implementation, am I right or wrong ?

best regards,

Alexandre BALABAN.

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to