--- a/server/sources/rql2sql.py Mon Dec 14 14:57:10 2009 +0100
+++ b/server/sources/rql2sql.py Mon Dec 14 14:58:41 2009 +0100
@@ -995,7 +995,9 @@
return self.keyword_map[value]()
if constant.type == 'Boolean':
value = self.dbms_helper.boolean_value(value)
- if constant.type == 'Substitute':
+ 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()