diff --git a/VERSION b/VERSION index 289cf9f3..12a4b69a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.5.1-stable+timestamp.2013.06.09.16.43.01 +Version 2.5.1-stable+timestamp.2013.06.09.16.56.30 diff --git a/gluon/dal.py b/gluon/dal.py index 7bac15de..cd417ebf 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -1375,8 +1375,6 @@ class BaseAdapter(ConnectionPool): out = '(%s)' % op else: out = op() - if field_type == 'string': - out = 'CAST(%s AS %s)' % (out, self.types['text']) return out elif field_type: return str(self.represent(expression,field_type))