GitHub PullRequestEvent at 2014-07-09 12:25:50
Repository: mysql
Actor: arnehormann
Payload: {"action":"opened","number":255,"pull_request":{"url":"https://api.github.com/repos/go-sql-driver/mysql/pulls/255","id":18157105,"html_url":"https://github.com/go-sql-driver/mysql/pull/255","diff_url":"https://github.com/go-sql-driver/mysql/pull/255.diff","patch_url":"https://github.com/go-sql-driver/mysql/pull/255.patch","issue_url":"https://api.github.com/repos/go-sql-driver/mysql/issues/255","number":255,"state":"open","title":"Fix handling of queries without columns and rows","user":{"login":"arnehormann","id":1011413,"avatar_url":"https://avatars.githubusercontent.com/u/1011413?","gravatar_id":"f344d389e6cccd23cec330ad19855c0a","url":"https://api.github.com/users/arnehormann","html_url":"https://github.com/arnehormann","followers_url":"https://api.github.com/users/arnehormann/followers","following_url":"https://api.github.com/users/arnehormann/following{/other_user}","gists_url":"https://api.github.com/users/arnehormann/gists{/gist_id}","starred_url":"https://api.github.com/users/arnehormann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnehormann/subscriptions","organizations_url":"https://api.github.com/users/arnehormann/orgs","repos_url":"https://api.github.com/users/arnehormann/repos","events_url":"https://api.github.com/users/arnehormann/events{/privacy}","received_events_url":"https://api.github.com/users/arnehormann/received_events","type":"User","site_admin":false},"body":"Empty queries are disallowed, but a comment can be sent as a query.\r\nThe call to `mc.readUntilEOF()` in `rows.Close()` causes a hangup.\r\nAs this case can be intercepted beforehand and doesn't require additional handling in the fastpath this way, I introduced a new type.\r\n\r\nFixes #253","created_at":"2014-07-09T12:25:50Z","updated_at":"2014-07-09T12:25:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/go-sql-driver/mysql/pulls/255/commits","review_comments_url":"https://api.github.com/repos/go-sql-driver/mysql/pulls/255/comments","review_comment_url":"https://api.github.com/repos/go-sql-driver/mysql/pulls/comments/{number}","comments_url":"https://api.github.com/repos/go-sql-driver/mysql/issues/255/comments","statuses_url":"https://api.github.com/repos/go-sql-driver/mysql/statuses/72f69004a94c69d0d49452ae8bf9deb3ef675f53","head":{"label":"arnehormann:result-without-columns","ref":"result-without-columns","sha":"72f69004a94c69d0d49452ae8bf9deb3ef675f53","user":{"login":"arnehormann","id":1011413,"avatar_url":"https://avatars.githubusercontent.com/u/1011413?","gravatar_id":"f344d389e6cccd23cec330ad19855c0a","url":"https://api.github.com/users/arnehormann","html_url":"https://github.com/arnehormann","followers_url":"https://api.github.com/users/arnehormann/followers","following_url":"https://api.github.com/users/arnehormann/following{/other_user}","gists_url":"https://api.github.com/users/arnehormann/gists{/gist_id}","starred_url":"https://api.github.com/users/arnehormann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnehormann/subscriptions","organizations_url":"https://api.github.com/users/arnehormann/orgs","repos_url":"https://api.github.com/users/arnehormann/repos","events_url":"https://api.github.com/users/arnehormann/events{/privacy}","received_events_url":"https://api.github.com/users/arnehormann/received_events","type":"User","site_admin":false},"repo":{"id":8903107,"name":"mysql","full_name":"arnehormann/mysql","owner":{"login":"arnehormann","id":1011413,"avatar_url":"https://avatars.githubusercontent.com/u/1011413?","gravatar_id":"f344d389e6cccd23cec330ad19855c0a","url":"https://api.github.com/users/arnehormann","html_url":"https://github.com/arnehormann","followers_url":"https://api.github.com/users/arnehormann/followers","following_url":"https://api.github.com/users/arnehormann/following{/other_user}","gists_url":"https://api.github.com/users/arnehormann/gists{/gist_id}","starred_url":"https://api.github.com/users/arnehormann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnehormann/subscriptions","organizations_url":"https://api.github.com/users/arnehormann/orgs","repos_url":"https://api.github.com/users/arnehormann/repos","events_url":"https://api.github.com/users/arnehormann/events{/privacy}","received_events_url":"https://api.github.com/users/arnehormann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arnehormann/mysql","description":"Go-MySQL-Driver is a lightweight and fast MySQL-Driver for Go's (golang) database/sql package","fork":true,"url":"https://api.github.com/repos/arnehormann/mysql","forks_url":"https://api.github.com/repos/arnehormann/mysql/forks","keys_url":"https://api.github.com/repos/arnehormann/mysql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arnehormann/mysql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arnehormann/mysql/teams","hooks_url":"https://api.github.com/repos/arnehormann/mysql/hooks","issue_events_url":"https://api.github.com/repos/arnehormann/mysql/issues/events{/number}","events_url":"https://api.github.com/repos/arnehormann/mysql/events","assignees_url":"https://api.github.com/repos/arnehormann/mysql/assignees{/user}","branches_url":"https://api.github.com/repos/arnehormann/mysql/branches{/branch}","tags_url":"https://api.github.com/repos/arnehormann/mysql/tags","blobs_url":"https://api.github.com/repos/arnehormann/mysql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arnehormann/mysql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arnehormann/mysql/git/refs{/sha}","trees_url":"https://api.github.com/repos/arnehormann/mysql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arnehormann/mysql/statuses/{sha}","languages_url":"https://api.github.com/repos/arnehormann/mysql/languages","stargazers_url":"https://api.github.com/repos/arnehormann/mysql/stargazers","contributors_url":"https://api.github.com/repos/arnehormann/mysql/contributors","subscribers_url":"https://api.github.com/repos/arnehormann/mysql/subscribers","subscription_url":"https://api.github.com/repos/arnehormann/mysql/subscription","commits_url":"https://api.github.com/repos/arnehormann/mysql/commits{/sha}","git_commits_url":"https://api.github.com/repos/arnehormann/mysql/git/commits{/sha}","comments_url":"https://api.github.com/repos/arnehormann/mysql/comments{/number}","issue_comment_url":"https://api.github.com/repos/arnehormann/mysql/issues/comments/{number}","contents_url":"https://api.github.com/repos/arnehormann/mysql/contents/{+path}","compare_url":"https://api.github.com/repos/arnehormann/mysql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arnehormann/mysql/merges","archive_url":"https://api.github.com/repos/arnehormann/mysql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arnehormann/mysql/downloads","issues_url":"https://api.github.com/repos/arnehormann/mysql/issues{/number}","pulls_url":"https://api.github.com/repos/arnehormann/mysql/pulls{/number}","milestones_url":"https://api.github.com/repos/arnehormann/mysql/milestones{/number}","notifications_url":"https://api.github.com/repos/arnehormann/mysql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arnehormann/mysql/labels{/name}","releases_url":"https://api.github.com/repos/arnehormann/mysql/releases{/id}","created_at":"2013-03-20T11:56:45Z","updated_at":"2014-06-08T08:20:19Z","pushed_at":"2014-07-09T12:22:34Z","git_url":"git://github.com/arnehormann/mysql.git","ssh_url":"git@github.com:arnehormann/mysql.git","clone_url":"https://github.com/arnehormann/mysql.git","svn_url":"https://github.com/arnehormann/mysql","homepage":"","size":1921,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"go-sql-driver:master","ref":"master","sha":"7094cf0331ed6bde3cd75aa5d1da0e7764b526c9","user":{"login":"go-sql-driver","id":3002971,"avatar_url":"https://avatars.githubusercontent.com/u/3002971?","gravatar_id":"0e55c624fb3cc7565551cf4155dac946","url":"https://api.github.com/users/go-sql-driver","html_url":"https://github.com/go-sql-driver","followers_url":"https://api.github.com/users/go-sql-driver/followers","following_url":"https://api.github.com/users/go-sql-driver/following{/other_user}","gists_url":"https://api.github.com/users/go-sql-driver/gists{/gist_id}","starred_url":"https://api.github.com/users/go-sql-driver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-sql-driver/subscriptions","organizations_url":"https://api.github.com/users/go-sql-driver/orgs","repos_url":"https://api.github.com/users/go-sql-driver/repos","events_url":"https://api.github.com/users/go-sql-driver/events{/privacy}","received_events_url":"https://api.github.com/users/go-sql-driver/received_events","type":"Organization","site_admin":false},"repo":{"id":7083242,"name":"mysql","full_name":"go-sql-driver/mysql","owner":{"login":"go-sql-driver","id":3002971,"avatar_url":"https://avatars.githubusercontent.com/u/3002971?","gravatar_id":"0e55c624fb3cc7565551cf4155dac946","url":"https://api.github.com/users/go-sql-driver","html_url":"https://github.com/go-sql-driver","followers_url":"https://api.github.com/users/go-sql-driver/followers","following_url":"https://api.github.com/users/go-sql-driver/following{/other_user}","gists_url":"https://api.github.com/users/go-sql-driver/gists{/gist_id}","starred_url":"https://api.github.com/users/go-sql-driver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-sql-driver/subscriptions","organizations_url":"https://api.github.com/users/go-sql-driver/orgs","repos_url":"https://api.github.com/users/go-sql-driver/repos","events_url":"https://api.github.com/users/go-sql-driver/events{/privacy}","received_events_url":"https://api.github.com/users/go-sql-driver/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/go-sql-driver/mysql","description":"Go-MySQL-Driver is a lightweight and fast MySQL-Driver for Go's (golang) database/sql package","fork":false,"url":"https://api.github.com/repos/go-sql-driver/mysql","forks_url":"https://api.github.com/repos/go-sql-driver/mysql/forks","keys_url":"https://api.github.com/repos/go-sql-driver/mysql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/go-sql-driver/mysql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/go-sql-driver/mysql/teams","hooks_url":"https://api.github.com/repos/go-sql-driver/mysql/hooks","issue_events_url":"https://api.github.com/repos/go-sql-driver/mysql/issues/events{/number}","events_url":"https://api.github.com/repos/go-sql-driver/mysql/events","assignees_url":"https://api.github.com/repos/go-sql-driver/mysql/assignees{/user}","branches_url":"https://api.github.com/repos/go-sql-driver/mysql/branches{/branch}","tags_url":"https://api.github.com/repos/go-sql-driver/mysql/tags","blobs_url":"https://api.github.com/repos/go-sql-driver/mysql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/go-sql-driver/mysql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/go-sql-driver/mysql/git/refs{/sha}","trees_url":"https://api.github.com/repos/go-sql-driver/mysql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/go-sql-driver/mysql/statuses/{sha}","languages_url":"https://api.github.com/repos/go-sql-driver/mysql/languages","stargazers_url":"https://api.github.com/repos/go-sql-driver/mysql/stargazers","contributors_url":"https://api.github.com/repos/go-sql-driver/mysql/contributors","subscribers_url":"https://api.github.com/repos/go-sql-driver/mysql/subscribers","subscription_url":"https://api.github.com/repos/go-sql-driver/mysql/subscription","commits_url":"https://api.github.com/repos/go-sql-driver/mysql/commits{/sha}","git_commits_url":"https://api.github.com/repos/go-sql-driver/mysql/git/commits{/sha}","comments_url":"https://api.github.com/repos/go-sql-driver/mysql/comments{/number}","issue_comment_url":"https://api.github.com/repos/go-sql-driver/mysql/issues/comments/{number}","contents_url":"https://api.github.com/repos/go-sql-driver/mysql/contents/{+path}","compare_url":"https://api.github.com/repos/go-sql-driver/mysql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/go-sql-driver/mysql/merges","archive_url":"https://api.github.com/repos/go-sql-driver/mysql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/go-sql-driver/mysql/downloads","issues_url":"https://api.github.com/repos/go-sql-driver/mysql/issues{/number}","pulls_url":"https://api.github.com/repos/go-sql-driver/mysql/pulls{/number}","milestones_url":"https://api.github.com/repos/go-sql-driver/mysql/milestones{/number}","notifications_url":"https://api.github.com/repos/go-sql-driver/mysql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/go-sql-driver/mysql/labels{/name}","releases_url":"https://api.github.com/repos/go-sql-driver/mysql/releases{/id}","created_at":"2012-12-09T20:33:55Z","updated_at":"2014-07-09T11:19:00Z","pushed_at":"2014-06-03T21:52:30Z","git_url":"git://github.com/go-sql-driver/mysql.git","ssh_url":"git@github.com:go-sql-driver/mysql.git","clone_url":"https://github.com/go-sql-driver/mysql.git","svn_url":"https://github.com/go-sql-driver/mysql","homepage":"http://godoc.org/github.com/go-sql-driver/mysql","size":3721,"stargazers_count":774,"watchers_count":774,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":183,"mirror_url":null,"open_issues_count":13,"forks":183,"open_issues":13,"watchers":774,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/go-sql-driver/mysql/pulls/255"},"html":{"href":"https://github.com/go-sql-driver/mysql/pull/255"},"issue":{"href":"https://api.github.com/repos/go-sql-driver/mysql/issues/255"},"comments":{"href":"https://api.github.com/repos/go-sql-driver/mysql/issues/255/comments"},"review_comments":{"href":"https://api.github.com/repos/go-sql-driver/mysql/pulls/255/comments"},"review_comment":{"href":"https://api.github.com/repos/go-sql-driver/mysql/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/go-sql-driver/mysql/pulls/255/commits"},"statuses":{"href":"https://api.github.com/repos/go-sql-driver/mysql/statuses/72f69004a94c69d0d49452ae8bf9deb3ef675f53"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":0,"changed_files":2}}