Skip to content

Commit

Permalink
Disable statement cache for pyodbc and turbodbc dialects
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti committed Aug 16, 2022
1 parent 509f67a commit 420138f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sqlalchemy_exasol/pyodbc.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@


class EXADialect_pyodbc(EXADialect, PyODBCConnector):
supports_statement_cache = False
execution_ctx_cls = EXAExecutionContext

driver_version = None
Expand Down
1 change: 1 addition & 0 deletions sqlalchemy_exasol/turbodbc.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class EXADialect_turbodbc(EXADialect):
driver = "turbodbc"
driver_version = None
server_version_info = None
supports_statement_cache = False
supports_native_decimal = False
supports_sane_multi_rowcount = False

Expand Down

0 comments on commit 420138f

Please sign in to comment.