actual implementation of issue #75, still some work to do

This commit is contained in:
Bernardo Damele
2012-07-12 01:16:00 +01:00
parent 3a94953ae2
commit ee3aeb8dcf
2 changed files with 9 additions and 1 deletions

View File

@@ -798,6 +798,9 @@ class Agent:
return unescaper.unescape(lengthExpr)
def forgeQueryOutputLengthZero(self, expression):
return self.forgeCaseStatement(self.forgeQueryOutputLength(expression))
def forgeCaseStatement(self, expression):
"""
Take in input a query string and return its CASE statement query