{"action":"created","issue":{"url":"https://api.github.com/repos/pingcap/tidb/issues/333","labels_url":"https://api.github.com/repos/pingcap/tidb/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/pingcap/tidb/issues/333/comments","events_url":"https://api.github.com/repos/pingcap/tidb/issues/333/events","html_url":"https://github.com/pingcap/tidb/issues/333","id":110415418,"number":333,"title":"Support mysql error code","user":{"login":"shenli","id":1192573,"avatar_url":"https://avatars.githubusercontent.com/u/1192573?v=3","gravatar_id":"","url":"https://api.github.com/users/shenli","html_url":"https://github.com/shenli","followers_url":"https://api.github.com/users/shenli/followers","following_url":"https://api.github.com/users/shenli/following{/other_user}","gists_url":"https://api.github.com/users/shenli/gists{/gist_id}","starred_url":"https://api.github.com/users/shenli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shenli/subscriptions","organizations_url":"https://api.github.com/users/shenli/orgs","repos_url":"https://api.github.com/users/shenli/repos","events_url":"https://api.github.com/users/shenli/events{/privacy}","received_events_url":"https://api.github.com/users/shenli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pingcap/tidb/labels/todo","name":"todo","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"shenli","id":1192573,"avatar_url":"https://avatars.githubusercontent.com/u/1192573?v=3","gravatar_id":"","url":"https://api.github.com/users/shenli","html_url":"https://github.com/shenli","followers_url":"https://api.github.com/users/shenli/followers","following_url":"https://api.github.com/users/shenli/following{/other_user}","gists_url":"https://api.github.com/users/shenli/gists{/gist_id}","starred_url":"https://api.github.com/users/shenli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shenli/subscriptions","organizations_url":"https://api.github.com/users/shenli/orgs","repos_url":"https://api.github.com/users/shenli/repos","events_url":"https://api.github.com/users/shenli/events{/privacy}","received_events_url":"https://api.github.com/users/shenli/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/pingcap/tidb/milestones/3","html_url":"https://github.com/pingcap/tidb/milestones/beta","labels_url":"https://api.github.com/repos/pingcap/tidb/milestones/3/labels","id":1462530,"number":3,"title":"beta","description":null,"creator":{"login":"shenli","id":1192573,"avatar_url":"https://avatars.githubusercontent.com/u/1192573?v=3","gravatar_id":"","url":"https://api.github.com/users/shenli","html_url":"https://github.com/shenli","followers_url":"https://api.github.com/users/shenli/followers","following_url":"https://api.github.com/users/shenli/following{/other_user}","gists_url":"https://api.github.com/users/shenli/gists{/gist_id}","starred_url":"https://api.github.com/users/shenli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shenli/subscriptions","organizations_url":"https://api.github.com/users/shenli/orgs","repos_url":"https://api.github.com/users/shenli/repos","events_url":"https://api.github.com/users/shenli/events{/privacy}","received_events_url":"https://api.github.com/users/shenli/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2015-12-16T02:59:49Z","updated_at":"2015-12-17T02:19:25Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-10-08T10:12:48Z","updated_at":"2015-12-17T02:22:42Z","closed_at":null,"body":"Sometimes server error code matters. \r\nUsers may try exception and check error type. So we need to support some mysql error codes. \r\nSome testcases fail because of this. "},"comment":{"url":"https://api.github.com/repos/pingcap/tidb/issues/comments/165316615","html_url":"https://github.com/pingcap/tidb/issues/333#issuecomment-165316615","issue_url":"https://api.github.com/repos/pingcap/tidb/issues/333","id":165316615,"user":{"login":"siddontang","id":1080370,"avatar_url":"https://avatars.githubusercontent.com/u/1080370?v=3","gravatar_id":"","url":"https://api.github.com/users/siddontang","html_url":"https://github.com/siddontang","followers_url":"https://api.github.com/users/siddontang/followers","following_url":"https://api.github.com/users/siddontang/following{/other_user}","gists_url":"https://api.github.com/users/siddontang/gists{/gist_id}","starred_url":"https://api.github.com/users/siddontang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddontang/subscriptions","organizations_url":"https://api.github.com/users/siddontang/orgs","repos_url":"https://api.github.com/users/siddontang/repos","events_url":"https://api.github.com/users/siddontang/events{/privacy}","received_events_url":"https://api.github.com/users/siddontang/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T02:22:42Z","updated_at":"2015-12-17T02:22:42Z","body":"I think the first one may be key conflict error check. :-)"}}