diff options
author | drh <drh@noemail.net> | 2010-02-23 20:11:56 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-02-23 20:11:56 +0000 |
commit | 413c3d36a27bd070034648c68673ad621e22312d (patch) | |
tree | fe36b73ed18afc95e601818f39436db0c32c778a /src/os_unix.c | |
parent | 39547b418b5dcb64de22a39acf6a25ca4d79cacc (diff) | |
download | sqlite-413c3d36a27bd070034648c68673ad621e22312d.tar.gz sqlite-413c3d36a27bd070034648c68673ad621e22312d.zip |
Continuing improvements to error reporting and the sqlite3_log() routine.
FossilOrigin-Name: edea3bb740ddd096a46e00678b59d465bb1e2903
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 80c966b56..1cce7dac1 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -1111,7 +1111,7 @@ static int transferOwnership(unixFile *pFile){ } if( pFile->locktype!=NO_LOCK ){ /* We cannot change ownership while we are holding a lock! */ - return SQLITE_MISUSE; + return SQLITE_MISUSE_BKPT; } OSTRACE4("Transfer ownership of %d from %d to %d\n", pFile->h, pFile->tid, hSelf); @@ -1512,7 +1512,7 @@ static int _posixUnlock(sqlite3_file *id, int locktype, int handleNFSUnlock){ return SQLITE_OK; } if( CHECK_THREADID(pFile) ){ - return SQLITE_MISUSE; + return SQLITE_MISUSE_BKPT; } unixEnterMutex(); h = pFile->h; @@ -2735,7 +2735,7 @@ static int afpUnlock(sqlite3_file *id, int locktype) { return SQLITE_OK; } if( CHECK_THREADID(pFile) ){ - return SQLITE_MISUSE; + return SQLITE_MISUSE_BKPT; } unixEnterMutex(); pLock = pFile->pLock; |