summaryrefslogtreecommitdiff
path: root/test/engine/execute.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 /test/engine/execute.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 'test/engine/execute.py')
-rw-r--r--test/engine/execute.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/engine/execute.py b/test/engine/execute.py
index 5b3478c56..515c99d30 100644
--- a/test/engine/execute.py
+++ b/test/engine/execute.py
@@ -151,11 +151,11 @@ class ProxyConnectionTest(TestBase):
]
else:
cursor = [
- ("CREATE TABLE t1", {}, None),
+ ("CREATE TABLE t1", {}, ()),
("INSERT INTO t1 (c1, c2)", {'c2': 'some data', 'c1': 5}, [5, 'some data']),
("INSERT INTO t1 (c1, c2)", {'c1': 6, "lower_2":"Foo"}, [6, "Foo"]), # bind param name 'lower_2' might be incorrect
- ("select * from t1", {}, None),
- ("DROP TABLE t1", {}, None)
+ ("select * from t1", {}, ()),
+ ("DROP TABLE t1", {}, ())
]
assert_stmts(compiled, stmts)