Subject: | mysql parser's default_val field_qualifier definition is plain wrong |
(i'm talking about SQL/Translator/Parser/MySQL.pm, revision 1.40)
...as it fails with anything besides [\s\w\d.-]
So i changed that definition locally with something still creepy but at least working:
default_val : /default/i /'(?:.*?\\')*.*?'|(?:')?[\w\d:.-]*(?:')?/
{
$item[2] =~ s/^\s*'|'\s*$//g;
$return = $item[2];
}
(this modification was done somewhere around line 446)