Fix T_BOOL bug of issue 8845.
diff --git a/Modules/_sqlite/connection.h b/Modules/_sqlite/connection.h
index 58c7397..468446d 100644
--- a/Modules/_sqlite/connection.h
+++ b/Modules/_sqlite/connection.h
@@ -39,7 +39,7 @@
 
     /* 1 if we are currently within a transaction, i. e. if a BEGIN has been
      * issued */
-    int inTransaction;
+    char inTransaction;
 
     /* the type detection mode. Only 0, PARSE_DECLTYPES, PARSE_COLNAMES or a
      * bitwise combination thereof makes sense */