From 064345d7745d2c945eccaaf6df47f93e7e81dbfe Mon Sep 17 00:00:00 2001 From: Brad Allen Date: Thu, 11 Mar 2010 16:26:32 -0600 Subject: [PATCH] comments explaining temporary hack for using executedirect --- lib/sqlalchemy/connectors/mxodbc.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/sqlalchemy/connectors/mxodbc.py b/lib/sqlalchemy/connectors/mxodbc.py index 47a5904b82..b5747117f7 100644 --- a/lib/sqlalchemy/connectors/mxodbc.py +++ b/lib/sqlalchemy/connectors/mxodbc.py @@ -82,14 +82,7 @@ class MxODBCConnector(Connector): return tuple(version) def do_execute(self, cursor, statement, parameters, context=None): - """ Override the default do_execute for all dialects using mxODBC. - - This is needed because mxODBC expects a sequence of sequences - (usually a tuple of tuples) for the bind parameters, and - SQLAlchemy commonly sends a list containing a string, - which mxODBC interprets as a sequence and breaks out the - individual characters. - """ + # temporary hack to pass tests until the a better solution is understood try: cursor.execute(statement, tuple(parameters)) except InterfaceError: -- 2.47.3