]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Modified the do_begin handling in mssql to use the Cursor not the Connection.
authorMichael Trier <mtrier@gmail.com>
Sun, 11 Jan 2009 19:15:30 +0000 (19:15 +0000)
committerMichael Trier <mtrier@gmail.com>
Sun, 11 Jan 2009 19:15:30 +0000 (19:15 +0000)
commit9a3b662ec1a0fc5f531d96ef90434ce1f321334e
treea9b3cb10a178e7034af114b2080efbbee5869605
parent7b3b9f559a0c0a5a1e3bd3df37696037607af3fc
Modified the do_begin handling in mssql to use the Cursor not the Connection.

This corrects a problem where we were trying to call execute on the Connection
object instead of against the cursor. This is supported on pyodbc but not in
the DBAPI. Overrode the behavior in pymssql to not do special do_begin
processing on that dialect.
CHANGES
lib/sqlalchemy/databases/mssql.py