summaryrefslogtreecommitdiff
path: root/test/sql/select.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-04-26 20:18:31 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-04-26 20:18:31 +0000
commit3560379ff742f63937ecd9b81d30ac6f0e92f629 (patch)
tree37803364bc1b8ccc6e9617abef47ba96ed0abc4a /test/sql/select.py
parentf3bcc15c5ca153932a35401a3b37082eb41a9d08 (diff)
downloadsqlalchemy-3560379ff742f63937ecd9b81d30ac6f0e92f629.tar.gz
fix order by for MySQL environment
Diffstat (limited to 'test/sql/select.py')
-rw-r--r--test/sql/select.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/sql/select.py b/test/sql/select.py
index 08faae096..bea862112 100644
--- a/test/sql/select.py
+++ b/test/sql/select.py
@@ -683,6 +683,8 @@ WHERE mytable.myid = myothertable.otherid) AS t2view WHERE t2view.mytable_myid =
checkparams={'bar':4, 'whee': 7},
dialect=dialect
)
+
+ # test escaping out text() params with a backslash
self.assert_compile(
text("select * from foo where clock='05:06:07' and mork='\:mindy'"),
"select * from foo where clock='05:06:07' and mork=':mindy'",