- attached bug1.py
MSSQL with adodbapi does not commit
Issue #411
resolved
When using an MSSQL database via adodbapi, transactions are not committed. The original symptom was that tables were not actually created as requested.
The problem is that mssql.py contains some clever workarounds for pymssql transaction problems, but these are not applicable to adodbapi. The fix I suggest has MSSQLDialect which just uses the default do_begin/do_commit/do_rollback. Derived from this is PyMSSQLDialect that has the smart overrides for pymssql. The appropriate dialect is selected at runtime.
Comments (6)
-
-
- attached mssql.patch
patch for suggested fix
-
Account Deleted (original author: ram) Committed with some fixes in 2181 -- thanks
-
Account Deleted - changed status to resolved
(original author: ram) None
-
repo owner - changed milestone to 0.4.0
Milestone next micropoint release deleted
-
repo owner - removed milestone
Removing milestone: 0.4.0 (automated comment)
- Log in to comment
minimal test case