backout a75a6e770717, unmeetable condition and introduce a bug with boolean values
--- 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()