Added removal of MySQL style comments to query canonicalization.

Also fixed minor issues with the canonicalization regular expressions.
This commit is contained in:
Markus Makela
2016-01-08 10:43:38 +02:00
parent c067bbe34a
commit e0c84e0fe3
3 changed files with 122 additions and 39 deletions

View File

@ -276,6 +276,7 @@ EXTERN_C_BLOCK_BEGIN
size_t get_decimal_len(size_t s);
char* remove_mysql_comments(const char* str);
char* replace_values(const char* str);
char* replace_literal(char* haystack,
const char* needle,