minor update

This commit is contained in:
Miroslav Stampar 2011-12-22 20:54:20 +00:00
parent abb401879c
commit 89d2c7c042
3 changed files with 13 additions and 2 deletions

View file

@ -411,8 +411,9 @@ class Dump:
rtable.beginTransaction()
if count > TRIM_STDOUT_DUMP_SIZE:
warnMsg = "console output will be trimmed "
warnMsg += "due to the large table size"
warnMsg = "console output will be trimmed to "
warnMsg += "last %d rows due to " % TRIM_STDOUT_DUMP_SIZE
warnMsg += "large table size"
logger.warning(warnMsg)
for i in xrange(count):

View file

@ -431,3 +431,6 @@ LARGE_OUTPUT_THRESHOLD = 1024**2
# On huge tables there is a considerable slowdown if every row retrieval requires ORDER BY (most noticable in table dumping using ERROR injections)
SLOW_ORDER_COUNT_THRESHOLD = 10000
# Give up on hash recognition if nothing was found in first given number of rows
HASH_RECOGNITION_QUIT_THRESHOLD = 10000