Minor update regarding Issue #129

This commit is contained in:
Miroslav Stampar 2012-07-30 21:43:32 +02:00
parent b9ac50faef
commit 93d35fe522
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ def __oneShotErrorUse(expression, field=None):
if trimmed: if trimmed:
warnMsg = "possible server trimmed output detected (due to its length): " warnMsg = "possible server trimmed output detected (due to its length): "
warnMsg += trimmed warnMsg += safecharencode(trimmed)
logger.warn(warnMsg) logger.warn(warnMsg)
if any(Backend.isDbms(dbms) for dbms in (DBMS.MYSQL, DBMS.MSSQL)): if any(Backend.isDbms(dbms) for dbms in (DBMS.MYSQL, DBMS.MSSQL)):

View File

@ -100,7 +100,7 @@ def __oneShotUnionUse(expression, unpack=True, limited=False):
if trimmed: if trimmed:
warnMsg = "possible server trimmed output detected (probably due to its length): " warnMsg = "possible server trimmed output detected (probably due to its length): "
warnMsg += trimmed warnMsg += safecharencode(trimmed)
logger.warn(warnMsg) logger.warn(warnMsg)
return retVal return retVal