upgrade/fixes for direct DBMS access

This commit is contained in:
Miroslav Stampar
2012-02-07 10:46:55 +00:00
parent af71e3c563
commit f7bf1fbe94
9 changed files with 33 additions and 27 deletions

View File

@@ -239,6 +239,9 @@ SQL_STATEMENTS = {
"rollback ", ),
}
# string representation for NULL value
NULL = "NULL"
# Regular expressions used for parsing error messages (--parse-errors)
ERROR_PARSING_REGEXES = (
r"<b>[^<]*(fatal|error|warning|exception)[^<]*</b>:?\s*(?P<result>.+?)<br\s*/?\s*>",