Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for index definition key (columns) #51

Open
DQinYuan opened this issue Jul 31, 2019 · 0 comments
Open

Support for index definition key (columns) #51

DQinYuan opened this issue Jul 31, 2019 · 0 comments

Comments

@DQinYuan
Copy link

sql as follow can run in mysql:

CREATE TABLE `table10_int_autoinc` (
  `col_bigint` bigint, 
  `col_time` time, 
  `col_double` double, 
  `col_bigint_key` bigint, 
  `col_char_20` char(20), 
  `col_datetime` datetime, 
  `col_varchar_20_key` varchar(20), 
  `col_varchar_20` varchar(20),
   `col_date` date, `col_float` float, 
   `col_float_key` float, 
   `col_char_20_key` char(20), 
   `col_time_key` time, 
   pk integer auto_increment,  
   key (`col_bigint_key`), 
   key (`col_date_key`), 
   primary key (pk))

but it can not parse in this parser, because it do not support anonymous index definition like 'key (columns)'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant