Skip to content

Commit 5852bae

Browse files
Thick: retored support for bequeath connections.
1 parent 6b92d38 commit 5852bae

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

doc/src/release_notes.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ For deprecations, see :ref:`Deprecations <deprecations>`.
1111
oracledb 1.0.1 (TBD)
1212
--------------------
1313

14-
#) Added support for multiple aliases in one entry in tnsnames.ora
14+
#) Thick: restored support for bequeath connections.
15+
#) Thin: added support for multiple aliases in one entry in tnsnames.ora
1516
(`issue 3 <https://github.com/oracle/python-oracledb/issues/3>`__).
1617
#) Ensured the name of wrapped functions are the same as the function being
1718
wrapped in order to improve error messages that reference them.

src/oracledb/impl/base/connect_params.pyx

+2-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,8 @@ cdef class ConnectParamsImpl:
409409
will be a connect string built up from the components supplied when the
410410
object was built.
411411
"""
412-
return self.description_list.build_connect_string()
412+
if self._default_address.host is not None:
413+
return self.description_list.build_connect_string()
413414

414415
def get_full_user(self):
415416
"""

0 commit comments

Comments
 (0)