{"action":"opened","number":508,"pull_request":{"url":"https://api.github.com/repos/PyMySQL/PyMySQL/pulls/508","id":83509413,"html_url":"https://github.com/PyMySQL/PyMySQL/pull/508","diff_url":"https://github.com/PyMySQL/PyMySQL/pull/508.diff","patch_url":"https://github.com/PyMySQL/PyMySQL/pull/508.patch","issue_url":"https://api.github.com/repos/PyMySQL/PyMySQL/issues/508","number":508,"state":"open","locked":false,"title":"Revert error packet parsing changes","user":{"login":"dianaclarke","id":878798,"avatar_url":"https://avatars.githubusercontent.com/u/878798?v=3","gravatar_id":"","url":"https://api.github.com/users/dianaclarke","html_url":"https://github.com/dianaclarke","followers_url":"https://api.github.com/users/dianaclarke/followers","following_url":"https://api.github.com/users/dianaclarke/following{/other_user}","gists_url":"https://api.github.com/users/dianaclarke/gists{/gist_id}","starred_url":"https://api.github.com/users/dianaclarke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianaclarke/subscriptions","organizations_url":"https://api.github.com/users/dianaclarke/orgs","repos_url":"https://api.github.com/users/dianaclarke/repos","events_url":"https://api.github.com/users/dianaclarke/events{/privacy}","received_events_url":"https://api.github.com/users/dianaclarke/received_events","type":"User","site_admin":false},"body":"Pull request for issue #507.\r\n\r\nRevert the changes made in commit 02910b7 to the mysql error packet\r\nparsing, as it didn't take the CLIENT_PROTOCOL_41 case into account. \r\n\r\nIt appears that the non-CLIENT_PROTOCOL_41 case was off by one as well\r\n(sliced data on 4 vs 3).\r\n\r\nI also added two new tests to cover those cases.\r\n\r\nSee: https://dev.mysql.com/doc/internals/en/packet-ERR_Packet.html","created_at":"2016-08-31T18:59:04Z","updated_at":"2016-08-31T18:59:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PyMySQL/PyMySQL/pulls/508/commits","review_comments_url":"https://api.github.com/repos/PyMySQL/PyMySQL/pulls/508/comments","review_comment_url":"https://api.github.com/repos/PyMySQL/PyMySQL/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PyMySQL/PyMySQL/issues/508/comments","statuses_url":"https://api.github.com/repos/PyMySQL/PyMySQL/statuses/510b9102e12528c2b50828f41f9f5bf6d0bc5c84","head":{"label":"dianaclarke:issue/507","ref":"issue/507","sha":"510b9102e12528c2b50828f41f9f5bf6d0bc5c84","user":{"login":"dianaclarke","id":878798,"avatar_url":"https://avatars.githubusercontent.com/u/878798?v=3","gravatar_id":"","url":"https://api.github.com/users/dianaclarke","html_url":"https://github.com/dianaclarke","followers_url":"https://api.github.com/users/dianaclarke/followers","following_url":"https://api.github.com/users/dianaclarke/following{/other_user}","gists_url":"https://api.github.com/users/dianaclarke/gists{/gist_id}","starred_url":"https://api.github.com/users/dianaclarke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianaclarke/subscriptions","organizations_url":"https://api.github.com/users/dianaclarke/orgs","repos_url":"https://api.github.com/users/dianaclarke/repos","events_url":"https://api.github.com/users/dianaclarke/events{/privacy}","received_events_url":"https://api.github.com/users/dianaclarke/received_events","type":"User","site_admin":false},"repo":{"id":67059423,"name":"PyMySQL","full_name":"dianaclarke/PyMySQL","owner":{"login":"dianaclarke","id":878798,"avatar_url":"https://avatars.githubusercontent.com/u/878798?v=3","gravatar_id":"","url":"https://api.github.com/users/dianaclarke","html_url":"https://github.com/dianaclarke","followers_url":"https://api.github.com/users/dianaclarke/followers","following_url":"https://api.github.com/users/dianaclarke/following{/other_user}","gists_url":"https://api.github.com/users/dianaclarke/gists{/gist_id}","starred_url":"https://api.github.com/users/dianaclarke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianaclarke/subscriptions","organizations_url":"https://api.github.com/users/dianaclarke/orgs","repos_url":"https://api.github.com/users/dianaclarke/repos","events_url":"https://api.github.com/users/dianaclarke/events{/privacy}","received_events_url":"https://api.github.com/users/dianaclarke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dianaclarke/PyMySQL","description":"Pure Python MySQL Client","fork":true,"url":"https://api.github.com/repos/dianaclarke/PyMySQL","forks_url":"https://api.github.com/repos/dianaclarke/PyMySQL/forks","keys_url":"https://api.github.com/repos/dianaclarke/PyMySQL/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dianaclarke/PyMySQL/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dianaclarke/PyMySQL/teams","hooks_url":"https://api.github.com/repos/dianaclarke/PyMySQL/hooks","issue_events_url":"https://api.github.com/repos/dianaclarke/PyMySQL/issues/events{/number}","events_url":"https://api.github.com/repos/dianaclarke/PyMySQL/events","assignees_url":"https://api.github.com/repos/dianaclarke/PyMySQL/assignees{/user}","branches_url":"https://api.github.com/repos/dianaclarke/PyMySQL/branches{/branch}","tags_url":"https://api.github.com/repos/dianaclarke/PyMySQL/tags","blobs_url":"https://api.github.com/repos/dianaclarke/PyMySQL/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dianaclarke/PyMySQL/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dianaclarke/PyMySQL/git/refs{/sha}","trees_url":"https://api.github.com/repos/dianaclarke/PyMySQL/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dianaclarke/PyMySQL/statuses/{sha}","languages_url":"https://api.github.com/repos/dianaclarke/PyMySQL/languages","stargazers_url":"https://api.github.com/repos/dianaclarke/PyMySQL/stargazers","contributors_url":"https://api.github.com/repos/dianaclarke/PyMySQL/contributors","subscribers_url":"https://api.github.com/repos/dianaclarke/PyMySQL/subscribers","subscription_url":"https://api.github.com/repos/dianaclarke/PyMySQL/subscription","commits_url":"https://api.github.com/repos/dianaclarke/PyMySQL/commits{/sha}","git_commits_url":"https://api.github.com/repos/dianaclarke/PyMySQL/git/commits{/sha}","comments_url":"https://api.github.com/repos/dianaclarke/PyMySQL/comments{/number}","issue_comment_url":"https://api.github.com/repos/dianaclarke/PyMySQL/issues/comments{/number}","contents_url":"https://api.github.com/repos/dianaclarke/PyMySQL/contents/{+path}","compare_url":"https://api.github.com/repos/dianaclarke/PyMySQL/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dianaclarke/PyMySQL/merges","archive_url":"https://api.github.com/repos/dianaclarke/PyMySQL/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dianaclarke/PyMySQL/downloads","issues_url":"https://api.github.com/repos/dianaclarke/PyMySQL/issues{/number}","pulls_url":"https://api.github.com/repos/dianaclarke/PyMySQL/pulls{/number}","milestones_url":"https://api.github.com/repos/dianaclarke/PyMySQL/milestones{/number}","notifications_url":"https://api.github.com/repos/dianaclarke/PyMySQL/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dianaclarke/PyMySQL/labels{/name}","releases_url":"https://api.github.com/repos/dianaclarke/PyMySQL/releases{/id}","deployments_url":"https://api.github.com/repos/dianaclarke/PyMySQL/deployments","created_at":"2016-08-31T17:36:14Z","updated_at":"2016-08-31T17:36:16Z","pushed_at":"2016-08-31T18:56:15Z","git_url":"git://github.com/dianaclarke/PyMySQL.git","ssh_url":"git@github.com:dianaclarke/PyMySQL.git","clone_url":"https://github.com/dianaclarke/PyMySQL.git","svn_url":"https://github.com/dianaclarke/PyMySQL","homepage":"https://pypi.io/project/PyMySQL/","size":844,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PyMySQL:master","ref":"master","sha":"7d9709095132ed4b4eee16a35c7ce2dae935a354","user":{"login":"PyMySQL","id":5338312,"avatar_url":"https://avatars.githubusercontent.com/u/5338312?v=3","gravatar_id":"","url":"https://api.github.com/users/PyMySQL","html_url":"https://github.com/PyMySQL","followers_url":"https://api.github.com/users/PyMySQL/followers","following_url":"https://api.github.com/users/PyMySQL/following{/other_user}","gists_url":"https://api.github.com/users/PyMySQL/gists{/gist_id}","starred_url":"https://api.github.com/users/PyMySQL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyMySQL/subscriptions","organizations_url":"https://api.github.com/users/PyMySQL/orgs","repos_url":"https://api.github.com/users/PyMySQL/repos","events_url":"https://api.github.com/users/PyMySQL/events{/privacy}","received_events_url":"https://api.github.com/users/PyMySQL/received_events","type":"Organization","site_admin":false},"repo":{"id":2114213,"name":"PyMySQL","full_name":"PyMySQL/PyMySQL","owner":{"login":"PyMySQL","id":5338312,"avatar_url":"https://avatars.githubusercontent.com/u/5338312?v=3","gravatar_id":"","url":"https://api.github.com/users/PyMySQL","html_url":"https://github.com/PyMySQL","followers_url":"https://api.github.com/users/PyMySQL/followers","following_url":"https://api.github.com/users/PyMySQL/following{/other_user}","gists_url":"https://api.github.com/users/PyMySQL/gists{/gist_id}","starred_url":"https://api.github.com/users/PyMySQL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyMySQL/subscriptions","organizations_url":"https://api.github.com/users/PyMySQL/orgs","repos_url":"https://api.github.com/users/PyMySQL/repos","events_url":"https://api.github.com/users/PyMySQL/events{/privacy}","received_events_url":"https://api.github.com/users/PyMySQL/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PyMySQL/PyMySQL","description":"Pure Python MySQL Client","fork":false,"url":"https://api.github.com/repos/PyMySQL/PyMySQL","forks_url":"https://api.github.com/repos/PyMySQL/PyMySQL/forks","keys_url":"https://api.github.com/repos/PyMySQL/PyMySQL/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PyMySQL/PyMySQL/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PyMySQL/PyMySQL/teams","hooks_url":"https://api.github.com/repos/PyMySQL/PyMySQL/hooks","issue_events_url":"https://api.github.com/repos/PyMySQL/PyMySQL/issues/events{/number}","events_url":"https://api.github.com/repos/PyMySQL/PyMySQL/events","assignees_url":"https://api.github.com/repos/PyMySQL/PyMySQL/assignees{/user}","branches_url":"https://api.github.com/repos/PyMySQL/PyMySQL/branches{/branch}","tags_url":"https://api.github.com/repos/PyMySQL/PyMySQL/tags","blobs_url":"https://api.github.com/repos/PyMySQL/PyMySQL/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PyMySQL/PyMySQL/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PyMySQL/PyMySQL/git/refs{/sha}","trees_url":"https://api.github.com/repos/PyMySQL/PyMySQL/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PyMySQL/PyMySQL/statuses/{sha}","languages_url":"https://api.github.com/repos/PyMySQL/PyMySQL/languages","stargazers_url":"https://api.github.com/repos/PyMySQL/PyMySQL/stargazers","contributors_url":"https://api.github.com/repos/PyMySQL/PyMySQL/contributors","subscribers_url":"https://api.github.com/repos/PyMySQL/PyMySQL/subscribers","subscription_url":"https://api.github.com/repos/PyMySQL/PyMySQL/subscription","commits_url":"https://api.github.com/repos/PyMySQL/PyMySQL/commits{/sha}","git_commits_url":"https://api.github.com/repos/PyMySQL/PyMySQL/git/commits{/sha}","comments_url":"https://api.github.com/repos/PyMySQL/PyMySQL/comments{/number}","issue_comment_url":"https://api.github.com/repos/PyMySQL/PyMySQL/issues/comments{/number}","contents_url":"https://api.github.com/repos/PyMySQL/PyMySQL/contents/{+path}","compare_url":"https://api.github.com/repos/PyMySQL/PyMySQL/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PyMySQL/PyMySQL/merges","archive_url":"https://api.github.com/repos/PyMySQL/PyMySQL/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PyMySQL/PyMySQL/downloads","issues_url":"https://api.github.com/repos/PyMySQL/PyMySQL/issues{/number}","pulls_url":"https://api.github.com/repos/PyMySQL/PyMySQL/pulls{/number}","milestones_url":"https://api.github.com/repos/PyMySQL/PyMySQL/milestones{/number}","notifications_url":"https://api.github.com/repos/PyMySQL/PyMySQL/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PyMySQL/PyMySQL/labels{/name}","releases_url":"https://api.github.com/repos/PyMySQL/PyMySQL/releases{/id}","deployments_url":"https://api.github.com/repos/PyMySQL/PyMySQL/deployments","created_at":"2011-07-27T17:38:47Z","updated_at":"2016-08-31T04:48:04Z","pushed_at":"2016-08-29T16:53:12Z","git_url":"git://github.com/PyMySQL/PyMySQL.git","ssh_url":"git@github.com:PyMySQL/PyMySQL.git","clone_url":"https://github.com/PyMySQL/PyMySQL.git","svn_url":"https://github.com/PyMySQL/PyMySQL","homepage":"https://pypi.io/project/PyMySQL/","size":1341,"stargazers_count":1940,"watchers_count":1940,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":450,"mirror_url":null,"open_issues_count":15,"forks":450,"open_issues":15,"watchers":1940,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PyMySQL/PyMySQL/pulls/508"},"html":{"href":"https://github.com/PyMySQL/PyMySQL/pull/508"},"issue":{"href":"https://api.github.com/repos/PyMySQL/PyMySQL/issues/508"},"comments":{"href":"https://api.github.com/repos/PyMySQL/PyMySQL/issues/508/comments"},"review_comments":{"href":"https://api.github.com/repos/PyMySQL/PyMySQL/pulls/508/comments"},"review_comment":{"href":"https://api.github.com/repos/PyMySQL/PyMySQL/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PyMySQL/PyMySQL/pulls/508/commits"},"statuses":{"href":"https://api.github.com/repos/PyMySQL/PyMySQL/statuses/510b9102e12528c2b50828f41f9f5bf6d0bc5c84"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":28,"deletions":1,"changed_files":3}}
{"actor":{"display_login":"dianaclarke"}}