diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-09-01 19:16:17 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-09-01 19:16:17 -0400 |
commit | 73d5b74f26a5f13baa01e458b69c0657e520d944 (patch) | |
tree | 1e651af71197844a8df79cde5265ed2cfd9815e6 /lib/sqlalchemy/engine/base.py | |
parent | 51f1fdf3e40065e349310a6ba9a49306b9648160 (diff) | |
download | sqlalchemy-73d5b74f26a5f13baa01e458b69c0657e520d944.tar.gz |
- get all tests within -w engine + pyodbc:mssql on windows to pass
Diffstat (limited to 'lib/sqlalchemy/engine/base.py')
-rw-r--r-- | lib/sqlalchemy/engine/base.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index 2894f2c21..af7341081 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -914,7 +914,9 @@ class Connection(Connectable): for fn in self.dispatch.before_cursor_execute: statement, parameters = \ fn(self, cursor, statement, parameters, - context, context.executemany) + context, + context.executemany + if context is not None else False) if self._echo: self.engine.logger.info(statement) |