summaryrefslogtreecommitdiff
path: root/test/sql/select.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2009-03-29 21:21:10 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2009-03-29 21:21:10 +0000
commitd0f67e2c4de4b688409c2589018fdfdba65e837f (patch)
tree1c2b6866e03f69232c33eb5b5eba50c057b2c13c /test/sql/select.py
parent290ff9930a33a5c165d3952a7bd1ed858b7a4572 (diff)
downloadsqlalchemy-d0f67e2c4de4b688409c2589018fdfdba65e837f.tar.gz
- Lazy loader will not use get() if the "lazy load"
SQL clause matches the clause used by get(), but contains some parameters hardcoded. Previously the lazy strategy would fail with the get(). Ideally get() would be used with the hardcoded parameters but this would require further development. [ticket:1357]
Diffstat (limited to 'test/sql/select.py')
-rw-r--r--test/sql/select.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sql/select.py b/test/sql/select.py
index 5d6d6dcaa..15c47a674 100644
--- a/test/sql/select.py
+++ b/test/sql/select.py
@@ -404,6 +404,7 @@ sq.myothertable_othername AS sq_myothertable_othername FROM (" + sqstring + ") A
"myothertable.othername = :othername_2 OR myothertable.otherid = :otherid_1) AND sysdate() = today()",
checkparams = {'othername_1': 'asdf', 'othername_2':'foo', 'otherid_1': 9, 'myid_1': 12}
)
+
def test_distinct(self):
self.assert_compile(