backout a75a6e770717, unmeetable condition and introduce a bug with boolean values stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 15 Dec 2009 12:24:38 +0100
branchstable
changeset 4121 09622a18501c
parent 4120 21517d42f2ed
child 4123 c309d441c128
child 4124 8f2f5f0a89e7
backout a75a6e770717, unmeetable condition and introduce a bug with boolean values
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()