branch | stable |
changeset 7691 | c47dcd37d4e3 |
parent 7264 | 9ed9e1d77ef3 |
child 7815 | 2a164a9cf81c |
--- a/cwconfig.py Tue Jul 26 11:21:26 2011 +0200 +++ b/cwconfig.py Tue Jul 26 11:25:10 2011 +0200 @@ -1235,6 +1235,7 @@ class LIMIT_SIZE(FunctionDescr): supported_backends = ('postgres', 'sqlite',) + minargs = maxargs = 3 rtype = 'String' def st_description(self, funcnode, mainindex, tr): @@ -1245,6 +1246,7 @@ class TEXT_LIMIT_SIZE(LIMIT_SIZE): supported_backends = ('mysql', 'postgres', 'sqlite',) + minargs = maxargs = 2 register_function(TEXT_LIMIT_SIZE)