Fix concat

This commit is contained in:
Meatballs 2013-06-24 23:20:34 +01:00
parent ed40a76c9d
commit 09e1dc814d

View File

@ -525,7 +525,7 @@ class Agent(object):
else:
return query
if Backend.isDbms(DBMS.MYSQL):
if Backend.getIdentifiedDbms() in (DBMS.MYSQL, DBMS.HSQL):
if fieldsExists:
concatenatedQuery = concatenatedQuery.replace("SELECT ", "CONCAT('%s'," % kb.chars.start, 1)
concatenatedQuery += ",'%s')" % kb.chars.stop