temporary patch to fix UNION query enumeration

This commit is contained in:
Bernardo Damele 2013-01-13 23:08:23 +00:00
parent 92ea8841f8
commit fdd6075859

View File

@ -391,7 +391,7 @@ class Agent(object):
elif depth == 0 and char == ',': elif depth == 0 and char == ',':
commas.append(index) commas.append(index)
commas = sorted(commas) commas = sorted(commas)
fieldsSplitted = [fields[x:y] for (x, y) in zip(commas, commas[1:])] fieldsSplitted = [fields[x:y].strip(",") for (x, y) in zip(commas, commas[1:])]
dbmsDelimiter = queries[Backend.getIdentifiedDbms()].delimiter.query dbmsDelimiter = queries[Backend.getIdentifiedDbms()].delimiter.query
nulledCastedFields = [] nulledCastedFields = []