File tree Expand file tree Collapse file tree 6 files changed +17
-8
lines changed
Expand file tree Collapse file tree 6 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 22Changelog
33#########
44
5+ Version 1.4.1
6+ =============
7+
8+ * Fixed important bug when iAttachment was not properly released.
9+
510Version 1.4.0
611=============
712
Original file line number Diff line number Diff line change 2323author = 'Pavel Císař'
2424
2525# The short X.Y version
26- version = '1.4.0 '
26+ version = '1.4.1 '
2727
2828# The full version, including alpha/beta/rc tags
29- release = '1.4.0 '
29+ release = '1.4.1 '
3030
3131
3232# -- General configuration ---------------------------------------------------
Original file line number Diff line number Diff line change 5959 Server , Statement
6060
6161#: Current driver version, SEMVER string.
62- __VERSION__ = '1.4.0 '
62+ __VERSION__ = '1.4.1 '
Original file line number Diff line number Diff line change @@ -1762,10 +1762,12 @@ def drop_database(self) -> None:
17621762 """
17631763 self ._close ()
17641764 self ._close_internals ()
1765- self ._att .drop_database ()
1766- self ._att = None
1767- for hook in get_callbacks (ConnectionHook .DROPPED , self ):
1768- hook (self )
1765+ try :
1766+ self ._att .drop_database ()
1767+ finally :
1768+ self ._att = None
1769+ for hook in get_callbacks (ConnectionHook .DROPPED , self ):
1770+ hook (self )
17691771 def execute_immediate (self , sql : str ) -> None :
17701772 """Executes SQL statement.
17711773
Original file line number Diff line number Diff line change @@ -981,10 +981,12 @@ def detach(self) -> None:
981981 "Replaces `isc_detach_database()`. On success releases interface."
982982 self .vtable .detach (self , self .status )
983983 self ._check ()
984+ self ._refcnt -= 1
984985 def drop_database (self ) -> None :
985986 "Replaces `isc_drop_database()`. On success releases interface."
986987 self .vtable .dropDatabase (self , self .status )
987988 self ._check ()
989+ self ._refcnt -= 1
988990
989991# >>> Firebird 4
990992# IAttachment(4) : IAttachment(3)
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ all-files=True
55
66[metadata]
77name = firebird-driver
8- version = 1.4.0
8+ version = 1.4.1
99description = Firebird driver
1010long_description = file: README.rst
1111long_description_content_type = text/x-rst; charset=UTF-8
You can’t perform that action at this time.
0 commit comments