added inference failsafe (like in for instance Firebirds SUBSTR always returns a string value, no matter which starting index you use)

This commit is contained in:
Miroslav Stampar
2010-12-11 10:52:04 +00:00
parent c17f444aab
commit f021548bd0
2 changed files with 9 additions and 0 deletions

View File

@@ -48,8 +48,13 @@ DUMP_STOP_MARKER = "__STOP__"
PAYLOAD_DELIMITER = "\x00"
CHAR_INFERENCE_MARK = "%c"
# minimum time response set needed for time-comparison based on standard deviation
MIN_TIME_RESPONSES = 10
# after these number of blanks at the end inference should stop (just in case)
INFERENCE_BLANK_BREAK = 20
# System variables
IS_WIN = subprocess.mswindows
# The name of the operating system dependent module imported. The following