Adds support to replaceComments transformation

This commit is contained in:
Felipe Zimmerle
2015-10-23 13:05:08 -03:00
parent 7e826633f1
commit 0ae09201f5
3 changed files with 47 additions and 11 deletions

View File

@@ -98,7 +98,7 @@ Transformation* Transformation::instantiate(std::string a) {
IF_MATCH(removeNulls) { return new RemoveNulls(a); }
IF_MATCH(remove_whitespace) { return new RemoveWhitespace(a); }
IF_MATCH(compressWhitespace) { return new CompressWhitespace(a); }
IF_MATCH(replace_comments) { return new ReplaceComments(a); }
IF_MATCH(replaceComments) { return new ReplaceComments(a); }
IF_MATCH(replace_nulls) { return new ReplaceNulls(a); }
IF_MATCH(sha1) { return new Sha1(a); }
IF_MATCH(sql_hex_decode) { return new SqlHexDecode(a); }