aboutsummaryrefslogtreecommitdiff
path: root/src/tclsqlite.c
diff options
context:
space:
mode:
authordrh <>2024-07-30 18:49:20 +0000
committerdrh <>2024-07-30 18:49:20 +0000
commita28a784ef469a483aa2ff2ee3325a1d4966f01df (patch)
treef5873c3e30188e34a60a6dd58f796982aee7abcb /src/tclsqlite.c
parent15669d302d20eed5fded80ffd6c3b27b65384725 (diff)
downloadsqlite-a28a784ef469a483aa2ff2ee3325a1d4966f01df.tar.gz
sqlite-a28a784ef469a483aa2ff2ee3325a1d4966f01df.zip
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
Diffstat (limited to 'src/tclsqlite.c')
-rw-r--r--src/tclsqlite.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tclsqlite.c b/src/tclsqlite.c
index b86200bfa..76e670160 100644
--- a/src/tclsqlite.c
+++ b/src/tclsqlite.c
@@ -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 */