{"action":"created","issue":{"url":"https://api.github.com/repos/pingcap/tidb/issues/988","repository_url":"https://api.github.com/repos/pingcap/tidb","labels_url":"https://api.github.com/repos/pingcap/tidb/issues/988/labels{/name}","comments_url":"https://api.github.com/repos/pingcap/tidb/issues/988/comments","events_url":"https://api.github.com/repos/pingcap/tidb/issues/988/events","html_url":"https://github.com/pingcap/tidb/pull/988","id":141461339,"number":988,"title":"tidb: remove RestrictedSQLExecutorKey variable in context.","user":{"login":"coocood","id":891222,"avatar_url":"https://avatars.githubusercontent.com/u/891222?v=3","gravatar_id":"","url":"https://api.github.com/users/coocood","html_url":"https://github.com/coocood","followers_url":"https://api.github.com/users/coocood/followers","following_url":"https://api.github.com/users/coocood/following{/other_user}","gists_url":"https://api.github.com/users/coocood/gists{/gist_id}","starred_url":"https://api.github.com/users/coocood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coocood/subscriptions","organizations_url":"https://api.github.com/users/coocood/orgs","repos_url":"https://api.github.com/users/coocood/repos","events_url":"https://api.github.com/users/coocood/events{/privacy}","received_events_url":"https://api.github.com/users/coocood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-17T02:33:26Z","updated_at":"2016-03-17T02:44:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pingcap/tidb/pulls/988","html_url":"https://github.com/pingcap/tidb/pull/988","diff_url":"https://github.com/pingcap/tidb/pull/988.diff","patch_url":"https://github.com/pingcap/tidb/pull/988.patch"},"body":"This variable was intended to prevent restricted SQL from being committed.\r\nBut it is executed at statement level, will never be committed, so this is not needed.\r\n\r\nAlso, when begin a new transaction in executing restricted SQL,\r\nIf 'autocommit' is 'on'. This variable makes the new transaction into a unwanted `InTrans` state,\r\nso following statements will not be autocommited."},"comment":{"url":"https://api.github.com/repos/pingcap/tidb/issues/comments/197664988","html_url":"https://github.com/pingcap/tidb/pull/988#issuecomment-197664988","issue_url":"https://api.github.com/repos/pingcap/tidb/issues/988","id":197664988,"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},"created_at":"2016-03-17T02:44:15Z","updated_at":"2016-03-17T02:44:15Z","body":"LGTM"}}