Skip to content

Commit af94cfc

Browse files
Remove dead code.
1 parent 3cc3a6b commit af94cfc

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

src/oracledb/errors.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,6 @@ def _raise_not_supported(feature: str) -> None:
330330
ERR_UNEXPECTED_REFUSE = 5005
331331
ERR_UNEXPECTED_END_OF_DATA = 5006
332332
ERR_UNEXPECTED_XML_TYPE = 5007
333-
ERR_TOO_MANY_CURSORS_TO_CLOSE = 5008
334333
ERR_UNKNOWN_SERVER_PIGGYBACK = 5009
335334
ERR_UNKNOWN_TRANSACTION_STATE = 5010
336335

@@ -692,9 +691,6 @@ def _raise_not_supported(feature: str) -> None:
692691
"Oracle Database does not support time only variables"
693692
),
694693
ERR_TNS_ENTRY_NOT_FOUND: 'unable to find "{name}" in {file_name}',
695-
ERR_TOO_MANY_CURSORS_TO_CLOSE: (
696-
"internal error: attempt to close more than {num_cursors} cursors"
697-
),
698694
ERR_TOO_MANY_BATCH_ERRORS: (
699695
"the number of batch errors from executemany() exceeds 65535"
700696
),

src/oracledb/impl/thin/constants.pxi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,6 @@ cdef enum:
780780
TNS_MAX_ROWID_LENGTH = 18
781781
TNS_DURATION_SESSION = 10
782782
TNS_MAX_LONG_LENGTH = 0x7fffffff
783-
TNS_MAX_CURSORS_TO_CLOSE = 500
784783
TNS_MAX_CONNECT_DATA = 230
785784
TNS_MAX_UROWID_LENGTH = 5267
786785
TNS_SERVER_CONVERTS_CHARS = 0x01

src/oracledb/impl/thin/pool.pyx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,9 +441,6 @@ cdef class BaseThinPoolImpl(BasePoolImpl):
441441

442442
cdef class ThinPoolImpl(BaseThinPoolImpl):
443443

444-
cdef:
445-
object _timer_thread
446-
447444
def __init__(self, str dsn, PoolParamsImpl params):
448445
super().__init__(dsn, params)
449446
self._condition = threading.Condition()

0 commit comments

Comments
 (0)