turning back on time auto-adjustment mechanism (if turned off) after a threshold run of valid chars

This commit is contained in:
Miroslav Stampar
2012-05-26 07:00:26 +00:00
parent 00d22f013f
commit d335ec0c34
3 changed files with 14 additions and 1 deletions

View File

@@ -1512,6 +1512,7 @@ def __setKnowledgeBaseAttributes(flushAll=True):
kb.testQueryCount = 0
kb.threadContinue = True
kb.threadException = False
kb.timeValidCharsRun = 0
kb.uChar = NULL
kb.xpCmdshellAvailable = False

View File

@@ -487,3 +487,6 @@ LARGE_CHUNK_TRIM_MARKER = "__TRIMMED_CONTENT__"
# Generic SQL comment formation
GENERIC_SQL_COMMENT = "-- "
# Threshold value for turning back on time auto-adjustment mechanism
VALID_TIME_CHARS_RUN_THRESHOLD = 100