{"action":"created","issue":{"url":"https://api.github.com/repos/alibaba/druid/issues/1420","repository_url":"https://api.github.com/repos/alibaba/druid","labels_url":"https://api.github.com/repos/alibaba/druid/issues/1420/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/druid/issues/1420/comments","events_url":"https://api.github.com/repos/alibaba/druid/issues/1420/events","html_url":"https://github.com/alibaba/druid/issues/1420","id":177636222,"number":1420,"title":"mysql create table语句解析错误","user":{"login":"sanli","id":330888,"avatar_url":"https://avatars.githubusercontent.com/u/330888?v=3","gravatar_id":"","url":"https://api.github.com/users/sanli","html_url":"https://github.com/sanli","followers_url":"https://api.github.com/users/sanli/followers","following_url":"https://api.github.com/users/sanli/following{/other_user}","gists_url":"https://api.github.com/users/sanli/gists{/gist_id}","starred_url":"https://api.github.com/users/sanli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanli/subscriptions","organizations_url":"https://api.github.com/users/sanli/orgs","repos_url":"https://api.github.com/users/sanli/repos","events_url":"https://api.github.com/users/sanli/events{/privacy}","received_events_url":"https://api.github.com/users/sanli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alibaba/druid/labels/Bug","name":"Bug","color":"b60205"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/alibaba/druid/milestones/13","html_url":"https://github.com/alibaba/druid/milestones/1.0.26","labels_url":"https://api.github.com/repos/alibaba/druid/milestones/13/labels","id":1953889,"number":13,"title":"1.0.26","description":"","creator":{"login":"wenshao","id":1166785,"avatar_url":"https://avatars.githubusercontent.com/u/1166785?v=3","gravatar_id":"","url":"https://api.github.com/users/wenshao","html_url":"https://github.com/wenshao","followers_url":"https://api.github.com/users/wenshao/followers","following_url":"https://api.github.com/users/wenshao/following{/other_user}","gists_url":"https://api.github.com/users/wenshao/gists{/gist_id}","starred_url":"https://api.github.com/users/wenshao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenshao/subscriptions","organizations_url":"https://api.github.com/users/wenshao/orgs","repos_url":"https://api.github.com/users/wenshao/repos","events_url":"https://api.github.com/users/wenshao/events{/privacy}","received_events_url":"https://api.github.com/users/wenshao/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":7,"state":"open","created_at":"2016-08-21T23:05:15Z","updated_at":"2016-09-18T13:40:00Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-09-18T07:39:06Z","updated_at":"2016-09-18T13:40:00Z","closed_at":"2016-09-18T13:40:00Z","body":"测试过程中发现解析mysql create table命令有个异常，语句如下：\r\ncreate table `test`.`simple_test` (\r\n  `col_key` bigint(20) not null auto_increment,\r\n  `col1` varchar(45) null,\r\n  `col2` tinyint(4) null,\r\n  `col3` datetime null,\r\n  `col4` timestamp null default current_timestamp on update current_timestamp,\r\n  primary key (`col_key`),\r\n  unique index `v1_unique` (`col_key` asc)) , \r\n错误如下：\r\nerr:com.alibaba.druid.sql.parser.ParserException: syntax error, expect RPAREN, actual ASC asc\r\n\r\n好像是不能正确处理“unique index `v1_unique` (`col_key` asc)” 这一段，不知道是否确实是一个bug。\r\n\r\ndruid版本： 1.0.14，"},"comment":{"url":"https://api.github.com/repos/alibaba/druid/issues/comments/247848309","html_url":"https://github.com/alibaba/druid/issues/1420#issuecomment-247848309","issue_url":"https://api.github.com/repos/alibaba/druid/issues/1420","id":247848309,"user":{"login":"wenshao","id":1166785,"avatar_url":"https://avatars.githubusercontent.com/u/1166785?v=3","gravatar_id":"","url":"https://api.github.com/users/wenshao","html_url":"https://github.com/wenshao","followers_url":"https://api.github.com/users/wenshao/followers","following_url":"https://api.github.com/users/wenshao/following{/other_user}","gists_url":"https://api.github.com/users/wenshao/gists{/gist_id}","starred_url":"https://api.github.com/users/wenshao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenshao/subscriptions","organizations_url":"https://api.github.com/users/wenshao/orgs","repos_url":"https://api.github.com/users/wenshao/repos","events_url":"https://api.github.com/users/wenshao/events{/privacy}","received_events_url":"https://api.github.com/users/wenshao/received_events","type":"User","site_admin":false},"created_at":"2016-09-18T13:40:00Z","updated_at":"2016-09-18T13:40:00Z","body":"问题已解决，请等待1.0.26版本"}}
{"actor":{"display_login":"wenshao"}}