some code refactoring

This commit is contained in:
Miroslav Stampar
2010-12-21 15:13:13 +00:00
parent 466d61ee85
commit 6c1133c4d4
2 changed files with 7 additions and 2 deletions

View File

@@ -49,7 +49,8 @@ DUMP_STOP_MARKER = "__STOP__"
PAYLOAD_DELIMITER = "\x00"
CHAR_INFERENCE_MARK = "%c"
UNKNOWN_DBMS_VERSION = "Unknown"
# coefficient used for a time-based query delay checking (must be >= 7)
TIME_STDEV_COEFF = 10
# suffix used for naming meta databases in DBMS(es) without explicit database name
METADB_SUFFIX = "_masterdb"
@@ -60,6 +61,9 @@ MIN_TIME_RESPONSES = 15
# after these number of blanks at the end inference should stop (just in case)
INFERENCE_BLANK_BREAK = 10
# string used for representation of unknown dbms version
UNKNOWN_DBMS_VERSION = "Unknown"
# System variables
IS_WIN = subprocess.mswindows
# The name of the operating system dependent module imported. The following