summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ansisql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-08-12 21:36:33 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-08-12 21:36:33 +0000
commit62410adeb9f6a0e01de35680ff77cc15ae994995 (patch)
treecabf5c81f443f4becc131501134a2b853b778769 /lib/sqlalchemy/ansisql.py
parentfb5cd747e8c9f4cdcb612ce7c43fd82d298bf812 (diff)
downloadsqlalchemy-62410adeb9f6a0e01de35680ff77cc15ae994995.tar.gz
- 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
Diffstat (limited to 'lib/sqlalchemy/ansisql.py')
-rw-r--r--lib/sqlalchemy/ansisql.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/sqlalchemy/ansisql.py b/lib/sqlalchemy/ansisql.py
index 1dec5ede0..8c7e6bb1c 100644
--- a/lib/sqlalchemy/ansisql.py
+++ b/lib/sqlalchemy/ansisql.py
@@ -225,7 +225,10 @@ class ANSICompiler(engine.Compiled, sql.ClauseVisitor):
if stack:
self.stack.append(stack)
try:
- return self.traverse_single(obj, **kwargs)
+ x = self.traverse_single(obj, **kwargs)
+ if x is None:
+ raise "hi " + repr(obj)
+ return x
finally:
if stack:
self.stack.pop(-1)