Commit Graph

2 Commits

Author SHA1 Message Date
Carlos Salguero
54dfcf36de PT-193 New test and updated libraries
Added a specific test for this issue and updated all binaries to the
latest TableParser version
2017-08-15 12:06:24 -03:00
Carlos Salguero
c375fd068b PT-193 Fixed regex in TableParser
TableParser's parse function was failing while trying to lowercase
column names in the provided 'SHOW CREATE TABLE'.
The problem was it was trying to lowercase everything between backticks
but lines like these:

`field_name` int comment "here is a ` in the comment"
`second_field_name` int

made the original regex to fail, matching `in the coment"` as an
expression to be lowercased while second_file_name was considered as
outside backticks.
2017-08-14 21:01:30 -03:00