Mercurial > p > roundup > code
diff roundup/backends/rdbms_common.py @ 3148:0a652c47bc9e maint-0.8
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 13 Feb 2005 22:40:53 +0000 |
| parents | 406862712b7d |
| children | e1da7b5b04ab |
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py Sun Feb 13 22:19:43 2005 +0000 +++ b/roundup/backends/rdbms_common.py Sun Feb 13 22:40:53 2005 +0000 @@ -1,4 +1,4 @@ -# $Id: rdbms_common.py,v 1.142.2.3 2005-01-13 05:05:12 richard Exp $ +# $Id: rdbms_common.py,v 1.142.2.4 2005-02-13 22:40:53 richard Exp $ ''' Relational database (SQL) backend common code. Basics: @@ -2100,7 +2100,7 @@ # now add to the where clause where.append('(' - +' or '.join(["_%s._%s LIKE '%s'"%(cn, k, s) for s in v]) + +' and '.join(["_%s._%s LIKE '%s'"%(cn, k, s) for s in v]) +')') # note: args are embedded in the query string now elif isinstance(propclass, Link):
