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 2
2
Changelog
3
3
#########
4
4
5
+ Version 1.4.1
6
+ =============
7
+
8
+ * Fixed important bug when iAttachment was not properly released.
9
+
5
10
Version 1.4.0
6
11
=============
7
12
Original file line number Diff line number Diff line change 23
23
author = 'Pavel Císař'
24
24
25
25
# The short X.Y version
26
- version = '1.4.0 '
26
+ version = '1.4.1 '
27
27
28
28
# The full version, including alpha/beta/rc tags
29
- release = '1.4.0 '
29
+ release = '1.4.1 '
30
30
31
31
32
32
# -- General configuration ---------------------------------------------------
Original file line number Diff line number Diff line change 59
59
Server , Statement
60
60
61
61
#: 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:
1762
1762
"""
1763
1763
self ._close ()
1764
1764
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 )
1769
1771
def execute_immediate (self , sql : str ) -> None :
1770
1772
"""Executes SQL statement.
1771
1773
Original file line number Diff line number Diff line change @@ -981,10 +981,12 @@ def detach(self) -> None:
981
981
"Replaces `isc_detach_database()`. On success releases interface."
982
982
self .vtable .detach (self , self .status )
983
983
self ._check ()
984
+ self ._refcnt -= 1
984
985
def drop_database (self ) -> None :
985
986
"Replaces `isc_drop_database()`. On success releases interface."
986
987
self .vtable .dropDatabase (self , self .status )
987
988
self ._check ()
989
+ self ._refcnt -= 1
988
990
989
991
# >>> Firebird 4
990
992
# IAttachment(4) : IAttachment(3)
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ all-files=True
5
5
6
6
[metadata]
7
7
name = firebird-driver
8
- version = 1.4.0
8
+ version = 1.4.1
9
9
description = Firebird driver
10
10
long_description = file: README.rst
11
11
long_description_content_type = text/x-rst; charset=UTF-8
You can’t perform that action at this time.
0 commit comments