diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-10-27 18:45:20 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-10-27 18:45:20 +0000 |
| commit | 1fee09fd07f6507657d28e542d725c9e7845cc31 (patch) | |
| tree | 71f21102b63d1c3b51a957fa72453eb716d80fe8 /lib/sqlalchemy/engine/default.py | |
| parent | 4a4daad81a6c5f987ac6eba0afdaccb3a70554f8 (diff) | |
| download | sqlalchemy-1fee09fd07f6507657d28e542d725c9e7845cc31.tar.gz | |
- inlined a couple of context variables
- PG two phase was calling text() without the correct bind param format, previous compiler checkin revealed issue
Diffstat (limited to 'lib/sqlalchemy/engine/default.py')
| -rw-r--r-- | lib/sqlalchemy/engine/default.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/sqlalchemy/engine/default.py b/lib/sqlalchemy/engine/default.py index d826b97fa..c98519ffe 100644 --- a/lib/sqlalchemy/engine/default.py +++ b/lib/sqlalchemy/engine/default.py @@ -134,7 +134,7 @@ class DefaultDialect(base.Dialect): class DefaultExecutionContext(base.ExecutionContext): def __init__(self, dialect, connection, compiled=None, statement=None, parameters=None): self.dialect = dialect - self._connection = connection + self._connection = self.root_connection = connection self.compiled = compiled self._postfetch_cols = util.Set() self.engine = connection.engine @@ -169,8 +169,6 @@ class DefaultExecutionContext(base.ExecutionContext): connection = property(lambda s:s._connection._branch()) - root_connection = property(lambda s:s._connection) - def __encode_param_keys(self, params): """apply string encoding to the keys of dictionary-based bind parameters. |
