{"action":"opened","number":438,"pull_request":{"url":"https://api.github.com/repos/percona/percona-server/pulls/438","id":65328152,"html_url":"https://github.com/percona/percona-server/pull/438","diff_url":"https://github.com/percona/percona-server/pull/438.diff","patch_url":"https://github.com/percona/percona-server/pull/438.patch","issue_url":"https://api.github.com/repos/percona/percona-server/issues/438","number":438,"state":"open","locked":false,"title":"Percona server 5.7.11 4 55 to 57","user":{"login":"grypyrg","id":1330700,"avatar_url":"https://avatars.githubusercontent.com/u/1330700?v=3","gravatar_id":"","url":"https://api.github.com/users/grypyrg","html_url":"https://github.com/grypyrg","followers_url":"https://api.github.com/users/grypyrg/followers","following_url":"https://api.github.com/users/grypyrg/following{/other_user}","gists_url":"https://api.github.com/users/grypyrg/gists{/gist_id}","starred_url":"https://api.github.com/users/grypyrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grypyrg/subscriptions","organizations_url":"https://api.github.com/users/grypyrg/orgs","repos_url":"https://api.github.com/users/grypyrg/repos","events_url":"https://api.github.com/users/grypyrg/events{/privacy}","received_events_url":"https://api.github.com/users/grypyrg/received_events","type":"User","site_admin":false},"body":"In commit  https://github.com/mysql/mysql-server/commit/14d664f0ddca7c69d44599693ffcd3455557e7e6#diff-43cb87a950ecc24df928a17c509677c8L2278, the code that fetches the `SERVER_UUID` changed from `SHOW GLOBAL VARIABLES` to `SELECT @@GLOBAL`, which now returns an error if the variable is not there instead of an empty row.\r\n\r\nHowever, as you can see in https://github.com/grypyrg/percona-server/blob/5.7/sql/rpl_slave.cc#L2429-L2437 the code actually catches the non presence of a row which is using the `SHOW GLOBAL VARIABLES` way.\r\n\r\nThis patch just made it handle `SELECT @@GLOBAL` properly.\r\n\r\n\r\nThis caused any replication from MySQL < 5.6 to MySQL 5.7 to break.","created_at":"2016-04-05T15:47:28Z","updated_at":"2016-04-05T15:47:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/percona/percona-server/pulls/438/commits","review_comments_url":"https://api.github.com/repos/percona/percona-server/pulls/438/comments","review_comment_url":"https://api.github.com/repos/percona/percona-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/percona/percona-server/issues/438/comments","statuses_url":"https://api.github.com/repos/percona/percona-server/statuses/3fd6fd6d6eb86c232a8a44efff7a95a0d63372df","head":{"label":"grypyrg:Percona-Server-5.7.11-4-55_to_57","ref":"Percona-Server-5.7.11-4-55_to_57","sha":"3fd6fd6d6eb86c232a8a44efff7a95a0d63372df","user":{"login":"grypyrg","id":1330700,"avatar_url":"https://avatars.githubusercontent.com/u/1330700?v=3","gravatar_id":"","url":"https://api.github.com/users/grypyrg","html_url":"https://github.com/grypyrg","followers_url":"https://api.github.com/users/grypyrg/followers","following_url":"https://api.github.com/users/grypyrg/following{/other_user}","gists_url":"https://api.github.com/users/grypyrg/gists{/gist_id}","starred_url":"https://api.github.com/users/grypyrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grypyrg/subscriptions","organizations_url":"https://api.github.com/users/grypyrg/orgs","repos_url":"https://api.github.com/users/grypyrg/repos","events_url":"https://api.github.com/users/grypyrg/events{/privacy}","received_events_url":"https://api.github.com/users/grypyrg/received_events","type":"User","site_admin":false},"repo":{"id":55263990,"name":"percona-server","full_name":"grypyrg/percona-server","owner":{"login":"grypyrg","id":1330700,"avatar_url":"https://avatars.githubusercontent.com/u/1330700?v=3","gravatar_id":"","url":"https://api.github.com/users/grypyrg","html_url":"https://github.com/grypyrg","followers_url":"https://api.github.com/users/grypyrg/followers","following_url":"https://api.github.com/users/grypyrg/following{/other_user}","gists_url":"https://api.github.com/users/grypyrg/gists{/gist_id}","starred_url":"https://api.github.com/users/grypyrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grypyrg/subscriptions","organizations_url":"https://api.github.com/users/grypyrg/orgs","repos_url":"https://api.github.com/users/grypyrg/repos","events_url":"https://api.github.com/users/grypyrg/events{/privacy}","received_events_url":"https://api.github.com/users/grypyrg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/grypyrg/percona-server","description":"Percona Server","fork":true,"url":"https://api.github.com/repos/grypyrg/percona-server","forks_url":"https://api.github.com/repos/grypyrg/percona-server/forks","keys_url":"https://api.github.com/repos/grypyrg/percona-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grypyrg/percona-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grypyrg/percona-server/teams","hooks_url":"https://api.github.com/repos/grypyrg/percona-server/hooks","issue_events_url":"https://api.github.com/repos/grypyrg/percona-server/issues/events{/number}","events_url":"https://api.github.com/repos/grypyrg/percona-server/events","assignees_url":"https://api.github.com/repos/grypyrg/percona-server/assignees{/user}","branches_url":"https://api.github.com/repos/grypyrg/percona-server/branches{/branch}","tags_url":"https://api.github.com/repos/grypyrg/percona-server/tags","blobs_url":"https://api.github.com/repos/grypyrg/percona-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grypyrg/percona-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grypyrg/percona-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/grypyrg/percona-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grypyrg/percona-server/statuses/{sha}","languages_url":"https://api.github.com/repos/grypyrg/percona-server/languages","stargazers_url":"https://api.github.com/repos/grypyrg/percona-server/stargazers","contributors_url":"https://api.github.com/repos/grypyrg/percona-server/contributors","subscribers_url":"https://api.github.com/repos/grypyrg/percona-server/subscribers","subscription_url":"https://api.github.com/repos/grypyrg/percona-server/subscription","commits_url":"https://api.github.com/repos/grypyrg/percona-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/grypyrg/percona-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/grypyrg/percona-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/grypyrg/percona-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/grypyrg/percona-server/contents/{+path}","compare_url":"https://api.github.com/repos/grypyrg/percona-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grypyrg/percona-server/merges","archive_url":"https://api.github.com/repos/grypyrg/percona-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grypyrg/percona-server/downloads","issues_url":"https://api.github.com/repos/grypyrg/percona-server/issues{/number}","pulls_url":"https://api.github.com/repos/grypyrg/percona-server/pulls{/number}","milestones_url":"https://api.github.com/repos/grypyrg/percona-server/milestones{/number}","notifications_url":"https://api.github.com/repos/grypyrg/percona-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grypyrg/percona-server/labels{/name}","releases_url":"https://api.github.com/repos/grypyrg/percona-server/releases{/id}","deployments_url":"https://api.github.com/repos/grypyrg/percona-server/deployments","created_at":"2016-04-01T21:40:25Z","updated_at":"2016-04-01T21:42:23Z","pushed_at":"2016-04-04T23:49:03Z","git_url":"git://github.com/grypyrg/percona-server.git","ssh_url":"git@github.com:grypyrg/percona-server.git","clone_url":"https://github.com/grypyrg/percona-server.git","svn_url":"https://github.com/grypyrg/percona-server","homepage":"https://www.percona.com/software/mysql-database/percona-server","size":469878,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"5.7"}},"base":{"label":"percona:5.7","ref":"5.7","sha":"429c030e60b3f1fa01370e797d5f8eac1eeebc79","user":{"login":"percona","id":1683025,"avatar_url":"https://avatars.githubusercontent.com/u/1683025?v=3","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"repo":{"id":30753733,"name":"percona-server","full_name":"percona/percona-server","owner":{"login":"percona","id":1683025,"avatar_url":"https://avatars.githubusercontent.com/u/1683025?v=3","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/percona/percona-server","description":"Percona Server","fork":false,"url":"https://api.github.com/repos/percona/percona-server","forks_url":"https://api.github.com/repos/percona/percona-server/forks","keys_url":"https://api.github.com/repos/percona/percona-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/percona/percona-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/percona/percona-server/teams","hooks_url":"https://api.github.com/repos/percona/percona-server/hooks","issue_events_url":"https://api.github.com/repos/percona/percona-server/issues/events{/number}","events_url":"https://api.github.com/repos/percona/percona-server/events","assignees_url":"https://api.github.com/repos/percona/percona-server/assignees{/user}","branches_url":"https://api.github.com/repos/percona/percona-server/branches{/branch}","tags_url":"https://api.github.com/repos/percona/percona-server/tags","blobs_url":"https://api.github.com/repos/percona/percona-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/percona/percona-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/percona/percona-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/percona/percona-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/percona/percona-server/statuses/{sha}","languages_url":"https://api.github.com/repos/percona/percona-server/languages","stargazers_url":"https://api.github.com/repos/percona/percona-server/stargazers","contributors_url":"https://api.github.com/repos/percona/percona-server/contributors","subscribers_url":"https://api.github.com/repos/percona/percona-server/subscribers","subscription_url":"https://api.github.com/repos/percona/percona-server/subscription","commits_url":"https://api.github.com/repos/percona/percona-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/percona/percona-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/percona/percona-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/percona/percona-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/percona/percona-server/contents/{+path}","compare_url":"https://api.github.com/repos/percona/percona-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/percona/percona-server/merges","archive_url":"https://api.github.com/repos/percona/percona-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/percona/percona-server/downloads","issues_url":"https://api.github.com/repos/percona/percona-server/issues{/number}","pulls_url":"https://api.github.com/repos/percona/percona-server/pulls{/number}","milestones_url":"https://api.github.com/repos/percona/percona-server/milestones{/number}","notifications_url":"https://api.github.com/repos/percona/percona-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/percona/percona-server/labels{/name}","releases_url":"https://api.github.com/repos/percona/percona-server/releases{/id}","deployments_url":"https://api.github.com/repos/percona/percona-server/deployments","created_at":"2015-02-13T11:32:01Z","updated_at":"2016-03-30T07:29:50Z","pushed_at":"2016-04-04T22:35:55Z","git_url":"git://github.com/percona/percona-server.git","ssh_url":"git@github.com:percona/percona-server.git","clone_url":"https://github.com/percona/percona-server.git","svn_url":"https://github.com/percona/percona-server","homepage":"https://www.percona.com/software/mysql-database/percona-server","size":532146,"stargazers_count":136,"watchers_count":136,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":11,"forks":52,"open_issues":11,"watchers":136,"default_branch":"5.7"}},"_links":{"self":{"href":"https://api.github.com/repos/percona/percona-server/pulls/438"},"html":{"href":"https://github.com/percona/percona-server/pull/438"},"issue":{"href":"https://api.github.com/repos/percona/percona-server/issues/438"},"comments":{"href":"https://api.github.com/repos/percona/percona-server/issues/438/comments"},"review_comments":{"href":"https://api.github.com/repos/percona/percona-server/pulls/438/comments"},"review_comment":{"href":"https://api.github.com/repos/percona/percona-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/percona/percona-server/pulls/438/commits"},"statuses":{"href":"https://api.github.com/repos/percona/percona-server/statuses/3fd6fd6d6eb86c232a8a44efff7a95a0d63372df"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":9,"deletions":9,"changed_files":1}}