author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 16 Dec 2009 09:11:00 +0100 | |
branch | stable |
changeset 4124 | 8f2f5f0a89e7 |
parent 4121 | 09622a18501c |
child 4125 | a32b0dc8575c |
--- a/server/sources/rql2sql.py Tue Dec 15 12:24:38 2009 +0100 +++ b/server/sources/rql2sql.py Wed Dec 16 09:11:00 2009 +0100 @@ -995,6 +995,7 @@ 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): _id = _id.encode()