summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/expression.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-12-17 23:09:51 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-12-17 23:09:51 +0000
commit6a99f293130c6e11aba28c19c84f9195c5bf60c7 (patch)
treefec4da7bdcf1a3698f71eb24bda378249f3d56a4 /lib/sqlalchemy/sql/expression.py
parent7b7530de199963fc946b7f96c14bf78ae24a43a3 (diff)
downloadsqlalchemy-6a99f293130c6e11aba28c19c84f9195c5bf60c7.tar.gz
- _execute_clauseelement() goes back to being
a private method. Subclassing Connection is not needed now that ConnectionProxy is available. - tightened the interface for the various _execute_XXX() methods to reduce ambiguity - __distill_params() no longer creates artificial [{}] entry, blank dict is no longer passed through to do_execute() in any case unless explicitly sent from the outside as in connection.execute("somestring"), {}) - fixed a few old sql.query tests which were doing that - removed needless do_execute() from mysql dialect - fixed charset param not properly being sent to _compat_fetchone() in mysql
Diffstat (limited to 'lib/sqlalchemy/sql/expression.py')
-rw-r--r--lib/sqlalchemy/sql/expression.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/expression.py b/lib/sqlalchemy/sql/expression.py
index 6bda4c82c..aa0b7228c 100644
--- a/lib/sqlalchemy/sql/expression.py
+++ b/lib/sqlalchemy/sql/expression.py
@@ -1124,7 +1124,7 @@ class ClauseElement(Visitable):
'or the Metadata of its underlying tables to enable '
'implicit execution via this method.' % label)
raise exc.UnboundExecutionError(msg)
- return e.execute_clauseelement(self, multiparams, params)
+ return e._execute_clauseelement(self, multiparams, params)
def scalar(self, *multiparams, **params):
"""Compile and execute this ``ClauseElement``, returning the result's scalar representation."""