mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
More adjustments to the incrblob channel: Apparently you need to wait
until the close2Proc is called with a flag of 0 before actually shutting down the channel. FossilOrigin-Name: fa549a5507b5f805b469b4360c11155aa9d22043f01f6d9428bf44d0f2351eb0
This commit is contained in:
@ -254,11 +254,7 @@ static int SQLITE_TCLAPI incrblobClose2(
|
||||
|
||||
if( flags ){
|
||||
p->isClosed |= flags;
|
||||
if( (p->isClosed & (TCL_CLOSE_READ|TCL_CLOSE_WRITE))
|
||||
!= (TCL_CLOSE_READ|TCL_CLOSE_WRITE) ){
|
||||
/* Not yet fully closed. Just return. */
|
||||
return TCL_OK;
|
||||
}
|
||||
return TCL_OK;
|
||||
}
|
||||
|
||||
/* If we reach this point, then we really do need to close the channel */
|
||||
|
Reference in New Issue
Block a user