From 45a2b0fedfa069bbd110727eaee5185e8f3e1848 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 14 Jul 2008 19:39:50 +0000 Subject: [PATCH] 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. --- test/sql/select.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sql/select.py b/test/sql/select.py index a5ad557d28..b6a1f7ccc6 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()), ]: -- 2.47.3