Finishing Issue #75 (inference dumping)

This commit is contained in:
Miroslav Stampar
2012-07-12 14:46:57 +02:00
parent 65639cdda6
commit cba2a26b68
2 changed files with 13 additions and 3 deletions

View File

@@ -359,8 +359,8 @@ def errorUse(expression, expected=None, dump=False):
for field in expressionFieldsList:
if __oneShotErrorUse("SELECT COUNT(%s) FROM %s" % (field, kb.dumpTable)) == '0':
emptyFields.append(field)
debugMsg = "column '%s' for table '%s' appears to be empty. "
debugMsg += "It's values will not be dumped"
debugMsg = "column '%s' of table '%s' will not be " % (field, kb.dumpTable)
debugMsg += "dumped as it appears to be empty"
logger.debug(debugMsg)
if stopLimit > TURN_OFF_RESUME_INFO_LIMIT: