summaryrefslogtreecommitdiff
path: root/test/sql/select.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-07-14 19:39:50 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-07-14 19:39:50 +0000
commit45a2b0fedfa069bbd110727eaee5185e8f3e1848 (patch)
tree11b5a2c0fdb84afc6b672fef312e6f165f6b15d2 /test/sql/select.py
parente91072a95cbe72149d896dc3e462cd2e6bb03f4f (diff)
downloadsqlalchemy-45a2b0fedfa069bbd110727eaee5185e8f3e1848.tar.gz
possible fix for MS-SQL version of match() test, but the real solution here may be to have the correct default paramstyle set up on the MS-SQL dialect.
Diffstat (limited to 'test/sql/select.py')
-rw-r--r--test/sql/select.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sql/select.py b/test/sql/select.py
index a5ad557d2..b6a1f7ccc 100644
--- a/test/sql/select.py
+++ b/test/sql/select.py
@@ -470,7 +470,7 @@ sq.myothertable_othername AS sq_myothertable_othername FROM (" + sqstring + ") A
for expr, check, dialect in [
(table1.c.myid.match('somstr'), "mytable.myid MATCH ?", sqlite.SQLiteDialect()),
(table1.c.myid.match('somstr'), "MATCH (mytable.myid) AGAINST (%s IN BOOLEAN MODE)", mysql.MySQLDialect()),
- (table1.c.myid.match('somstr'), "CONTAINS (mytable.myid, ?)", mssql.MSSQLDialect()),
+ (table1.c.myid.match('somstr'), "CONTAINS (mytable.myid, :myid_1)", mssql.MSSQLDialect()),
(table1.c.myid.match('somstr'), "mytable.myid @@ to_tsquery(%(myid_1)s)", postgres.PGDialect()),
(table1.c.myid.match('somstr'), "CONTAINS (mytable.myid, :myid_1)", oracle.OracleDialect()),
]: