fix for that MySQL checking

This commit is contained in:
Miroslav Stampar 2010-10-19 17:38:39 +00:00
parent 34d7de1d46
commit b2e0b615f8

View File

@ -362,7 +362,7 @@ def __goError(expression, resumeValue=True):
if output: if output:
output = output.replace("%c%c%c" % (58, 95, 58), " ").replace("%c%c%c" % (58, 120, 58), "") #':_:' -> EMPTY CHAR, ':x:' -> SPACE CHAR output = output.replace("%c%c%c" % (58, 95, 58), " ").replace("%c%c%c" % (58, 120, 58), "") #':_:' -> EMPTY CHAR, ':x:' -> SPACE CHAR
if kb.dbms == "MySQL": if temp.error == queries['MySQL'].error:
output = output[:-1] output = output[:-1]
infoMsg = "retrieved: %s" % replaceNewlineTabs(output, stdout=True) infoMsg = "retrieved: %s" % replaceNewlineTabs(output, stdout=True)