update regarding mysql function resolution and versionedkeywords

This commit is contained in:
Miroslav Stampar
2011-05-28 17:34:43 +00:00
parent bfd923fe29
commit 03ef53f00a
2 changed files with 6 additions and 1 deletions

View File

@@ -342,3 +342,7 @@ DEFAULT_TOR_PORTS = (8118, 8123)
# Percentage below which comparison engine could have problems
LOW_TEXT_PERCENT = 20
# These MySQL keywords can't go (alone) into versioned comment form (/*!...*/)
# Reference: http://dev.mysql.com/doc/refman/5.1/en/function-resolution.html
IGNORE_SPACE_AFFECTED_KEYWORDS = ("CAST", "COUNT", "EXTRACT", "GROUP_CONCAT", "MAX", "MID", "MIN", "SESSION_USER", "SUBSTR", "SUBSTRING", "SUM", "SYSTEM_USER", "TRIM")