From 62410adeb9f6a0e01de35680ff77cc15ae994995 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 12 Aug 2007 21:36:33 +0000 Subject: - fixed compiler bug in mssql - marked as unsupported for mssql all two-phase and nested transcation tests - marked as unsupported for mssql various transactional/session tests which require two connections looking at uncommitted/external data at the same time (ms-sql cant handle it) - put better explicit closeout step in unitofwork.py tests to appease ms-sqls hard locking --- lib/sqlalchemy/databases/mssql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/databases') diff --git a/lib/sqlalchemy/databases/mssql.py b/lib/sqlalchemy/databases/mssql.py index 405b97617..9ec0fbbc3 100644 --- a/lib/sqlalchemy/databases/mssql.py +++ b/lib/sqlalchemy/databases/mssql.py @@ -897,7 +897,7 @@ class MSSQLCompiler(ansisql.ANSICompiler): } def visit_function(self, func): func.name = self.function_rewrites.get(func.name, func.name) - super(MSSQLCompiler, self).visit_function(func) + return super(MSSQLCompiler, self).visit_function(func) def for_update_clause(self, select): # "FOR UPDATE" is only allowed on "DECLARE CURSOR" which SQLAlchemy doesn't use -- cgit v1.2.1