{"action":"created","comment":{"url":"https://api.github.com/repos/jhthorsen/mojo-mysql/pulls/comments/22847294","id":22847294,"diff_hunk":"@@ -72,6 +72,10 @@ sub _dequeue {\n   # you, silently, but only if certain env vars are set\n   # hint: force-set mysql_auto_reconnect or whatever it's called to 0\n   $dbh->{mysql_auto_reconnect} = 0;\n+  # Maintain Commits with Mojo::mysql::Transaction\n+  $dbh->{AutoCommit} = 1;\n+\n+  $self->emit(connection => $dbh);","path":"lib/Mojo/mysql.pm","position":7,"original_position":7,"commit_id":"415bf4ea8b031395c0c34016b6c5ff69eb118eb0","original_commit_id":"415bf4ea8b031395c0c34016b6c5ff69eb118eb0","user":{"login":"jhthorsen","id":45729,"avatar_url":"https://avatars.githubusercontent.com/u/45729?v=3","gravatar_id":"","url":"https://api.github.com/users/jhthorsen","html_url":"https://github.com/jhthorsen","followers_url":"https://api.github.com/users/jhthorsen/followers","following_url":"https://api.github.com/users/jhthorsen/following{/other_user}","gists_url":"https://api.github.com/users/jhthorsen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhthorsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhthorsen/subscriptions","organizations_url":"https://api.github.com/users/jhthorsen/orgs","repos_url":"https://api.github.com/users/jhthorsen/repos","events_url":"https://api.github.com/users/jhthorsen/events{/privacy}","received_events_url":"https://api.github.com/users/jhthorsen/received_events","type":"User","site_admin":false},"body":"Nice :+1: ","created_at":"2015-01-13T07:56:53Z","updated_at":"2015-01-13T07:56:53Z","html_url":"https://github.com/jhthorsen/mojo-mysql/pull/6#discussion_r22847294","pull_request_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/jhthorsen/mojo-mysql/pulls/comments/22847294"},"html":{"href":"https://github.com/jhthorsen/mojo-mysql/pull/6#discussion_r22847294"},"pull_request":{"href":"https://api.github.com/repos/jhthorsen/mojo-mysql/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/jhthorsen/mojo-mysql/pulls/6","id":27251069,"html_url":"https://github.com/jhthorsen/mojo-mysql/pull/6","diff_url":"https://github.com/jhthorsen/mojo-mysql/pull/6.diff","patch_url":"https://github.com/jhthorsen/mojo-mysql/pull/6.patch","issue_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/issues/6","number":6,"state":"open","locked":false,"title":"Disable Statement cache","user":{"login":"harry-bix","id":8404213,"avatar_url":"https://avatars.githubusercontent.com/u/8404213?v=3","gravatar_id":"","url":"https://api.github.com/users/harry-bix","html_url":"https://github.com/harry-bix","followers_url":"https://api.github.com/users/harry-bix/followers","following_url":"https://api.github.com/users/harry-bix/following{/other_user}","gists_url":"https://api.github.com/users/harry-bix/gists{/gist_id}","starred_url":"https://api.github.com/users/harry-bix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harry-bix/subscriptions","organizations_url":"https://api.github.com/users/harry-bix/orgs","repos_url":"https://api.github.com/users/harry-bix/repos","events_url":"https://api.github.com/users/harry-bix/events{/privacy}","received_events_url":"https://api.github.com/users/harry-bix/received_events","type":"User","site_admin":false},"body":"Do not cache statements in Mojo::mysql::Database.\r\n$sth->finish is implicitly called when $sth is destroyed, fixing problem with mysql_use_result\r\nSynced changes from Mojo::Pg","created_at":"2015-01-13T06:44:52Z","updated_at":"2015-01-13T07:56:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"406a947c46bf5a522b4c74d9be35141314ee4ef1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/pulls/6/commits","review_comments_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/pulls/6/comments","review_comment_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/issues/6/comments","statuses_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/statuses/415bf4ea8b031395c0c34016b6c5ff69eb118eb0","head":{"label":"harry-bix:no-sth-cache","ref":"no-sth-cache","sha":"415bf4ea8b031395c0c34016b6c5ff69eb118eb0","user":{"login":"harry-bix","id":8404213,"avatar_url":"https://avatars.githubusercontent.com/u/8404213?v=3","gravatar_id":"","url":"https://api.github.com/users/harry-bix","html_url":"https://github.com/harry-bix","followers_url":"https://api.github.com/users/harry-bix/followers","following_url":"https://api.github.com/users/harry-bix/following{/other_user}","gists_url":"https://api.github.com/users/harry-bix/gists{/gist_id}","starred_url":"https://api.github.com/users/harry-bix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harry-bix/subscriptions","organizations_url":"https://api.github.com/users/harry-bix/orgs","repos_url":"https://api.github.com/users/harry-bix/repos","events_url":"https://api.github.com/users/harry-bix/events{/privacy}","received_events_url":"https://api.github.com/users/harry-bix/received_events","type":"User","site_admin":false},"repo":{"id":28156388,"name":"mojo-mysql","full_name":"harry-bix/mojo-mysql","owner":{"login":"harry-bix","id":8404213,"avatar_url":"https://avatars.githubusercontent.com/u/8404213?v=3","gravatar_id":"","url":"https://api.github.com/users/harry-bix","html_url":"https://github.com/harry-bix","followers_url":"https://api.github.com/users/harry-bix/followers","following_url":"https://api.github.com/users/harry-bix/following{/other_user}","gists_url":"https://api.github.com/users/harry-bix/gists{/gist_id}","starred_url":"https://api.github.com/users/harry-bix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harry-bix/subscriptions","organizations_url":"https://api.github.com/users/harry-bix/orgs","repos_url":"https://api.github.com/users/harry-bix/repos","events_url":"https://api.github.com/users/harry-bix/events{/privacy}","received_events_url":"https://api.github.com/users/harry-bix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/harry-bix/mojo-mysql","description":"Mojolicious and Async MySQL","fork":true,"url":"https://api.github.com/repos/harry-bix/mojo-mysql","forks_url":"https://api.github.com/repos/harry-bix/mojo-mysql/forks","keys_url":"https://api.github.com/repos/harry-bix/mojo-mysql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/harry-bix/mojo-mysql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/harry-bix/mojo-mysql/teams","hooks_url":"https://api.github.com/repos/harry-bix/mojo-mysql/hooks","issue_events_url":"https://api.github.com/repos/harry-bix/mojo-mysql/issues/events{/number}","events_url":"https://api.github.com/repos/harry-bix/mojo-mysql/events","assignees_url":"https://api.github.com/repos/harry-bix/mojo-mysql/assignees{/user}","branches_url":"https://api.github.com/repos/harry-bix/mojo-mysql/branches{/branch}","tags_url":"https://api.github.com/repos/harry-bix/mojo-mysql/tags","blobs_url":"https://api.github.com/repos/harry-bix/mojo-mysql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/harry-bix/mojo-mysql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/harry-bix/mojo-mysql/git/refs{/sha}","trees_url":"https://api.github.com/repos/harry-bix/mojo-mysql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/harry-bix/mojo-mysql/statuses/{sha}","languages_url":"https://api.github.com/repos/harry-bix/mojo-mysql/languages","stargazers_url":"https://api.github.com/repos/harry-bix/mojo-mysql/stargazers","contributors_url":"https://api.github.com/repos/harry-bix/mojo-mysql/contributors","subscribers_url":"https://api.github.com/repos/harry-bix/mojo-mysql/subscribers","subscription_url":"https://api.github.com/repos/harry-bix/mojo-mysql/subscription","commits_url":"https://api.github.com/repos/harry-bix/mojo-mysql/commits{/sha}","git_commits_url":"https://api.github.com/repos/harry-bix/mojo-mysql/git/commits{/sha}","comments_url":"https://api.github.com/repos/harry-bix/mojo-mysql/comments{/number}","issue_comment_url":"https://api.github.com/repos/harry-bix/mojo-mysql/issues/comments/{number}","contents_url":"https://api.github.com/repos/harry-bix/mojo-mysql/contents/{+path}","compare_url":"https://api.github.com/repos/harry-bix/mojo-mysql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/harry-bix/mojo-mysql/merges","archive_url":"https://api.github.com/repos/harry-bix/mojo-mysql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/harry-bix/mojo-mysql/downloads","issues_url":"https://api.github.com/repos/harry-bix/mojo-mysql/issues{/number}","pulls_url":"https://api.github.com/repos/harry-bix/mojo-mysql/pulls{/number}","milestones_url":"https://api.github.com/repos/harry-bix/mojo-mysql/milestones{/number}","notifications_url":"https://api.github.com/repos/harry-bix/mojo-mysql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/harry-bix/mojo-mysql/labels{/name}","releases_url":"https://api.github.com/repos/harry-bix/mojo-mysql/releases{/id}","created_at":"2014-12-17T21:28:47Z","updated_at":"2014-12-17T21:28:48Z","pushed_at":"2015-01-13T06:54:58Z","git_url":"git://github.com/harry-bix/mojo-mysql.git","ssh_url":"git@github.com:harry-bix/mojo-mysql.git","clone_url":"https://github.com/harry-bix/mojo-mysql.git","svn_url":"https://github.com/harry-bix/mojo-mysql","homepage":null,"size":216,"stargazers_count":0,"watchers_count":0,"language":"Perl","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":"jhthorsen:master","ref":"master","sha":"b8a78639b2cb859a3a024e84a43531c8c2e7fc62","user":{"login":"jhthorsen","id":45729,"avatar_url":"https://avatars.githubusercontent.com/u/45729?v=3","gravatar_id":"","url":"https://api.github.com/users/jhthorsen","html_url":"https://github.com/jhthorsen","followers_url":"https://api.github.com/users/jhthorsen/followers","following_url":"https://api.github.com/users/jhthorsen/following{/other_user}","gists_url":"https://api.github.com/users/jhthorsen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhthorsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhthorsen/subscriptions","organizations_url":"https://api.github.com/users/jhthorsen/orgs","repos_url":"https://api.github.com/users/jhthorsen/repos","events_url":"https://api.github.com/users/jhthorsen/events{/privacy}","received_events_url":"https://api.github.com/users/jhthorsen/received_events","type":"User","site_admin":false},"repo":{"id":25077656,"name":"mojo-mysql","full_name":"jhthorsen/mojo-mysql","owner":{"login":"jhthorsen","id":45729,"avatar_url":"https://avatars.githubusercontent.com/u/45729?v=3","gravatar_id":"","url":"https://api.github.com/users/jhthorsen","html_url":"https://github.com/jhthorsen","followers_url":"https://api.github.com/users/jhthorsen/followers","following_url":"https://api.github.com/users/jhthorsen/following{/other_user}","gists_url":"https://api.github.com/users/jhthorsen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhthorsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhthorsen/subscriptions","organizations_url":"https://api.github.com/users/jhthorsen/orgs","repos_url":"https://api.github.com/users/jhthorsen/repos","events_url":"https://api.github.com/users/jhthorsen/events{/privacy}","received_events_url":"https://api.github.com/users/jhthorsen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhthorsen/mojo-mysql","description":"Mojolicious and Async MySQL","fork":false,"url":"https://api.github.com/repos/jhthorsen/mojo-mysql","forks_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/forks","keys_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/teams","hooks_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/hooks","issue_events_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/issues/events{/number}","events_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/events","assignees_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/assignees{/user}","branches_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/branches{/branch}","tags_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/tags","blobs_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/statuses/{sha}","languages_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/languages","stargazers_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/stargazers","contributors_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/contributors","subscribers_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/subscribers","subscription_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/subscription","commits_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/issues/comments/{number}","contents_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/contents/{+path}","compare_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/merges","archive_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/downloads","issues_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/issues{/number}","pulls_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/pulls{/number}","milestones_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/milestones{/number}","notifications_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/labels{/name}","releases_url":"https://api.github.com/repos/jhthorsen/mojo-mysql/releases{/id}","created_at":"2014-10-11T12:40:16Z","updated_at":"2015-01-02T11:15:32Z","pushed_at":"2015-01-02T11:15:35Z","git_url":"git://github.com/jhthorsen/mojo-mysql.git","ssh_url":"git@github.com:jhthorsen/mojo-mysql.git","clone_url":"https://github.com/jhthorsen/mojo-mysql.git","svn_url":"https://github.com/jhthorsen/mojo-mysql","homepage":null,"size":368,"stargazers_count":5,"watchers_count":5,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jhthorsen/mojo-mysql/pulls/6"},"html":{"href":"https://github.com/jhthorsen/mojo-mysql/pull/6"},"issue":{"href":"https://api.github.com/repos/jhthorsen/mojo-mysql/issues/6"},"comments":{"href":"https://api.github.com/repos/jhthorsen/mojo-mysql/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/jhthorsen/mojo-mysql/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/jhthorsen/mojo-mysql/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jhthorsen/mojo-mysql/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/jhthorsen/mojo-mysql/statuses/415bf4ea8b031395c0c34016b6c5ff69eb118eb0"}}}}