# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1239900674 -7200 # Node ID 41fe68a4f94cc58c9df0c4fda06f39e397e3ead3 # Parent 618f6aee8d5278e87bfd8681aaf5ab5c951f9c5f# Parent c4f4f8bacb92940a10acf93052d4d86d0de6a109 merge diff -r c4f4f8bacb92 -r 41fe68a4f94c server/sources/rql2sql.py --- a/server/sources/rql2sql.py Thu Apr 16 17:49:52 2009 +0200 +++ b/server/sources/rql2sql.py Thu Apr 16 18:51:14 2009 +0200 @@ -936,9 +936,9 @@ def visit_function(self, func, contextrels=None): """generate SQL name for a function""" # function_description will check function is supported by the backend - self.dbms_helper.function_description(func.name) - return '%s(%s)' % (func.name, ', '.join(c.accept(self, contextrels) - for c in func.children)) + sqlname = self.dbms_helper.func_sqlname(func.name) + return '%s(%s)' % (sqlname, ', '.join(c.accept(self, contextrels) + for c in func.children)) def visit_constant(self, constant, contextrels=None): """generate SQL name for a constant"""