more refactoring

This commit is contained in:
Miroslav Stampar
2011-06-07 10:08:12 +00:00
parent 7a3cc38e3c
commit e9bf768f23
2 changed files with 29 additions and 76 deletions

View File

@@ -92,7 +92,7 @@ def __oneShotUnionUse(expression, unpack=True):
warnMsg = "possible server trimmed output detected (due to its length): "
warnMsg += trimmed
logger.warn(warnMsg)
elif Backend.isDbms(DBMS.MYSQL):
elif Backend.isDbms(DBMS.MYSQL) and not kb.multiThreadMode:
warnMsg = "if the problem persists with 'None' values please try to use "
warnMsg += "hidden switch --no-cast (fixing problems with some collation "
warnMsg += "issues)"