ms705 / nom-sql

Rust SQL parser written using nom
MIT License
232 stars 41 forks source link

support mysql table option DEFAULT CHARSET=binary #25

Closed lovasoa closed 6 years ago

lovasoa commented 6 years ago

Hi, I'm still trying to parse mysql dumps from wikipedia, and I'm having problems with mysql table options (table_option in the docs).

Example statement that fails to parse

CREATE TABLE x (b integer)  ENGINE=InnoDB AUTO_INCREMENT=413856661 DEFAULT CHARSET=binary;