summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/mssql/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-02-19 13:51:22 -0500
committermike bayer <mike_mp@zzzcomputing.com>2022-02-19 20:34:11 +0000
commit69e5dfde3ed6cbecae82459a82e0a1fda6228b0e (patch)
treedf28666f9a725f5e5f0c4f666917d3c8552dcc9a /lib/sqlalchemy/dialects/mssql/base.py
parente120837b682a3a822c2dff136ad48b1ca9fb6ce2 (diff)
downloadsqlalchemy-69e5dfde3ed6cbecae82459a82e0a1fda6228b0e.tar.gz
remove never-used get_result_cursor_strategy() method
This method I would assume got committed during the 1.4 engine refactor, where we moved from different kinds of ResultProxy implementations to different strategy classes instead. These strategies are set up by dialects by setting "self.cursor_fetch_strategy" in the execution context. The method here was likely a previous iteration of that which got merged but was never used. Change-Id: Iec292428f41c2c245bf7ae78beaa14786c28846c
Diffstat (limited to 'lib/sqlalchemy/dialects/mssql/base.py')
-rw-r--r--lib/sqlalchemy/dialects/mssql/base.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/sqlalchemy/dialects/mssql/base.py b/lib/sqlalchemy/dialects/mssql/base.py
index 2aff7d8b6..8c44c0b2d 100644
--- a/lib/sqlalchemy/dialects/mssql/base.py
+++ b/lib/sqlalchemy/dialects/mssql/base.py
@@ -1622,7 +1622,6 @@ class MSExecutionContext(default.DefaultExecutionContext):
_select_lastrowid = False
_lastrowid = None
_rowcount = None
- _result_strategy = None
def _opt_encode(self, statement):
@@ -1749,14 +1748,6 @@ class MSExecutionContext(default.DefaultExecutionContext):
except Exception:
pass
- def get_result_cursor_strategy(self, result):
- if self._result_strategy:
- return self._result_strategy
- else:
- return super(MSExecutionContext, self).get_result_cursor_strategy(
- result
- )
-
def fire_sequence(self, seq, type_):
return self._execute_scalar(
(