Skip to content

Commit 99ef4ea

Browse files
committed
Fixed issue on MacOS (see #7827 in Firebird)
1 parent 1aaa016 commit 99ef4ea

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010

1111
- #27 - Failed to establish a connection to the server on the specified port.
1212
- #15 - Documentation issue.
13+
- Fixed issue on MacOS (see #7827 in Firebird)
1314

1415
### Changed
1516

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ classifiers = [
2929
"Topic :: Database",
3030
]
3131
dependencies = [
32-
"firebird-base>=1.6.1",
32+
"firebird-base>=1.7.0",
3333
"python-dateutil>=2.8",
3434
]
3535

src/firebird/driver/fbapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2044,7 +2044,7 @@ def __init__(self, filename: Path = None):
20442044
if sys.platform in ('win32', 'cygwin', 'os2', 'os2emx'):
20452045
self.client_library: ctypes.CDLL = ctypes.WinDLL(str(filename))
20462046
else:
2047-
self.client_library: ctypes.CDLL = ctypes.CDLL(str(filename))
2047+
self.client_library: ctypes.CDLL = ctypes.CDLL(str(filename), mode=ctypes.RTLD_GLOBAL)
20482048
#: Firebird client library name
20492049
self.client_library_name: Path = Path(filename)
20502050
#: Firebird API

0 commit comments

Comments
 (0)