fixed issue 701, thanks Marius van Niekerk
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-07-08 17:26:39) dev
|
Version 2.00.0 (2012-07-08 17:39:33) dev
|
||||||
|
|||||||
+2
-2
@@ -1281,7 +1281,7 @@ class BaseAdapter(ConnectionPool):
|
|||||||
for key in set(attributes.keys())-set(('orderby', 'groupby', 'limitby',
|
for key in set(attributes.keys())-set(('orderby', 'groupby', 'limitby',
|
||||||
'required', 'cache', 'left',
|
'required', 'cache', 'left',
|
||||||
'distinct', 'having', 'join',
|
'distinct', 'having', 'join',
|
||||||
'for_update')):
|
'for_update', 'processor')):
|
||||||
raise SyntaxError, 'invalid select attribute: %s' % key
|
raise SyntaxError, 'invalid select attribute: %s' % key
|
||||||
|
|
||||||
tablenames = self.tables(query)
|
tablenames = self.tables(query)
|
||||||
@@ -4434,7 +4434,7 @@ class CouchDBAdapter(NoSQLAdapter):
|
|||||||
raise SyntaxError, "Not Supported"
|
raise SyntaxError, "Not Supported"
|
||||||
for key in set(attributes.keys())-set(('orderby','groupby','limitby',
|
for key in set(attributes.keys())-set(('orderby','groupby','limitby',
|
||||||
'required','cache','left',
|
'required','cache','left',
|
||||||
'distinct','having')):
|
'distinct', 'having', 'processor')):
|
||||||
raise SyntaxError, 'invalid select attribute: %s' % key
|
raise SyntaxError, 'invalid select attribute: %s' % key
|
||||||
new_fields=[]
|
new_fields=[]
|
||||||
for item in fields:
|
for item in fields:
|
||||||
|
|||||||
Reference in New Issue
Block a user