{"action":"opened","issue":{"url":"https://api.github.com/repos/bradzacher/mysqldump/issues/48","repository_url":"https://api.github.com/repos/bradzacher/mysqldump","labels_url":"https://api.github.com/repos/bradzacher/mysqldump/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/bradzacher/mysqldump/issues/48/comments","events_url":"https://api.github.com/repos/bradzacher/mysqldump/issues/48/events","html_url":"https://github.com/bradzacher/mysqldump/issues/48","id":342543928,"node_id":"MDU6SXNzdWUzNDI1NDM5Mjg=","number":48,"title":"Add header flags to the string output","user":{"login":"bradzacher","id":7462525,"node_id":"MDQ6VXNlcjc0NjI1MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/7462525?v=4","gravatar_id":"","url":"https://api.github.com/users/bradzacher","html_url":"https://github.com/bradzacher","followers_url":"https://api.github.com/users/bradzacher/followers","following_url":"https://api.github.com/users/bradzacher/following{/other_user}","gists_url":"https://api.github.com/users/bradzacher/gists{/gist_id}","starred_url":"https://api.github.com/users/bradzacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradzacher/subscriptions","organizations_url":"https://api.github.com/users/bradzacher/orgs","repos_url":"https://api.github.com/users/bradzacher/repos","events_url":"https://api.github.com/users/bradzacher/events{/privacy}","received_events_url":"https://api.github.com/users/bradzacher/received_events","type":"User","site_admin":false},"labels":[{"id":262873533,"node_id":"MDU6TGFiZWwyNjI4NzM1MzM=","url":"https://api.github.com/repos/bradzacher/mysqldump/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"bradzacher","id":7462525,"node_id":"MDQ6VXNlcjc0NjI1MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/7462525?v=4","gravatar_id":"","url":"https://api.github.com/users/bradzacher","html_url":"https://github.com/bradzacher","followers_url":"https://api.github.com/users/bradzacher/followers","following_url":"https://api.github.com/users/bradzacher/following{/other_user}","gists_url":"https://api.github.com/users/bradzacher/gists{/gist_id}","starred_url":"https://api.github.com/users/bradzacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradzacher/subscriptions","organizations_url":"https://api.github.com/users/bradzacher/orgs","repos_url":"https://api.github.com/users/bradzacher/repos","events_url":"https://api.github.com/users/bradzacher/events{/privacy}","received_events_url":"https://api.github.com/users/bradzacher/received_events","type":"User","site_admin":false},"assignees":[{"login":"bradzacher","id":7462525,"node_id":"MDQ6VXNlcjc0NjI1MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/7462525?v=4","gravatar_id":"","url":"https://api.github.com/users/bradzacher","html_url":"https://github.com/bradzacher","followers_url":"https://api.github.com/users/bradzacher/followers","following_url":"https://api.github.com/users/bradzacher/following{/other_user}","gists_url":"https://api.github.com/users/bradzacher/gists{/gist_id}","starred_url":"https://api.github.com/users/bradzacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradzacher/subscriptions","organizations_url":"https://api.github.com/users/bradzacher/orgs","repos_url":"https://api.github.com/users/bradzacher/repos","events_url":"https://api.github.com/users/bradzacher/events{/privacy}","received_events_url":"https://api.github.com/users/bradzacher/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-07-19T01:11:22Z","updated_at":"2018-07-19T01:11:22Z","closed_at":null,"author_association":"OWNER","body":"The dumped SQL file has a set of session variables before and after the dump to do things like disable foreign key checks.\r\n\r\nThe string that is returned from the function (i.e. in-memory dumping) doesn't include those same variables.\r\n\r\nThis means that in a lot of cases you can't just run the output that is returned from the function, which makes it kind of useless."}}
{"actor":{"display_login":"bradzacher"}}