author | Katia Saurfelt <katia.saurfelt@logilab.fr> |
Thu, 30 Apr 2009 14:45:02 +0200 | |
changeset 1614 | d9d265df05f8 |
parent 1613 | 96a136073fd1 (current diff) |
parent 1497 | 54fc5cc52210 (diff) |
child 1615 | 63c086a01772 |
--- a/server/sources/rql2sql.py Thu Apr 30 14:44:18 2009 +0200 +++ b/server/sources/rql2sql.py Thu Apr 30 14:45:02 2009 +0200 @@ -952,6 +952,8 @@ if rel is not None: rel._q_needcast = value return self.keyword_map[value]() + if constant.type == 'Boolean': + value = self.dbms_helper.boolean_value(value) if constant.type == 'Substitute': _id = constant.value if isinstance(_id, unicode):