aboutsummaryrefslogtreecommitdiff
path: root/src/tclsqlite.c
diff options
context:
space:
mode:
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 */