diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-12-05 02:10:49 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-12-05 02:10:49 -0500 |
commit | 8e6b5ab1bd541d5f6267ebdbcca1389e00b00d02 (patch) | |
tree | f6898a03b1c252face6fe95a589483901f1ef5b2 /lib/sqlalchemy/engine | |
parent | bbe88372e8a6f4f96a3492b670732e10edacf282 (diff) | |
download | sqlalchemy-8e6b5ab1bd541d5f6267ebdbcca1389e00b00d02.tar.gz |
- reduce some pool overhead
Diffstat (limited to 'lib/sqlalchemy/engine')
-rw-r--r-- | lib/sqlalchemy/engine/base.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index 77aa950c0..907b1930b 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -830,6 +830,7 @@ class Connection(Connectable): """ self.engine = engine + self.dialect = engine.dialect self.__connection = connection or engine.raw_connection() self.__transaction = None self.should_close_with_result = close_with_result @@ -887,12 +888,6 @@ class Connection(Connectable): return c @property - def dialect(self): - "Dialect used by this Connection." - - return self.engine.dialect - - @property def closed(self): """Return True if this connection is closed.""" |