# HG changeset patch # User Sylvain Thénault # Date 1260876278 -3600 # Node ID 09622a18501c6c6b6c102707c9cecd8c56654eb4 # Parent 21517d42f2edbce143d58c277a5e8920ce1a6874 backout a75a6e770717, unmeetable condition and introduce a bug with boolean values diff -r 21517d42f2ed -r 09622a18501c server/sources/rql2sql.py --- a/server/sources/rql2sql.py Tue Dec 15 11:30:44 2009 +0100 +++ b/server/sources/rql2sql.py Tue Dec 15 12:24:38 2009 +0100 @@ -995,9 +995,6 @@ return self.keyword_map[value]() if constant.type == 'Boolean': value = self.dbms_helper.boolean_value(value) - elif constant.type == 'Password' or constant.type == 'Bytes': - value = self.dbms_helper.binary_value(value) - elif constant.type == 'Substitute': _id = constant.value if isinstance(_id, unicode): _id = _id.encode()