twindb / undrop-for-innodb

TwinDB data recovery toolkit for MySQL/InnoDB
https://twindb.com
GNU General Public License v2.0
384 stars 148 forks source link

c_parser error #2

Closed Marc-T closed 3 years ago

Marc-T commented 8 years ago

Hi,

there is an error when there is 2 single quote in the DDL script when you try to recover data

ie :

create table _test ( a varchar(10) comment 'abcd''xyz', b enum('aaa', 'bbb''bb') ) engine=innodb comment='aaa''vvv';

This is a valid mysql create statement, but this throw an error in c_parser.

Marc.

akuzminsky commented 3 years ago

c_parser doesn't set a goal to match MySQL's SQL grammar. For data recovery comments are not important, it's unlikely I'll ever fix this bug.