The relevant change is the addition of the
MSSQLDialect.do_begin method:

    def do_begin(self, connection):
        cursor = connection.cursor()
        cursor.execute("SET IMPLICIT_TRANSACTIONS OFF")
        cursor.execute("BEGIN TRANSACTION")

This was first introduced three months ago
to correct the savepoint tests
http://bitbucket.org/mirror/sqlalchemy/changeset/985925326dc8/

and revised a couple months ago to use the
cursor rather than the connection:
http://www.sqlalchemy.org/trac/browser/sqlalchemy/trunk/lib/sqlalchemy/databases/mssql.py?rev=5641

With this method converted to a pass, 0.5.2 works
properly for me on the three machines where before
it always rolled back.

David

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to