{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/migrations/issues/427","repository_url":"https://api.github.com/repos/doctrine/migrations","labels_url":"https://api.github.com/repos/doctrine/migrations/issues/427/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/migrations/issues/427/comments","events_url":"https://api.github.com/repos/doctrine/migrations/issues/427/events","html_url":"https://github.com/doctrine/migrations/issues/427","id":130947600,"number":427,"title":"[proposal] it should handle multi statement SQL gracefully","user":{"login":"docteurklein","id":109846,"avatar_url":"https://avatars.githubusercontent.com/u/109846?v=3","gravatar_id":"","url":"https://api.github.com/users/docteurklein","html_url":"https://github.com/docteurklein","followers_url":"https://api.github.com/users/docteurklein/followers","following_url":"https://api.github.com/users/docteurklein/following{/other_user}","gists_url":"https://api.github.com/users/docteurklein/gists{/gist_id}","starred_url":"https://api.github.com/users/docteurklein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docteurklein/subscriptions","organizations_url":"https://api.github.com/users/docteurklein/orgs","repos_url":"https://api.github.com/users/docteurklein/repos","events_url":"https://api.github.com/users/docteurklein/events{/privacy}","received_events_url":"https://api.github.com/users/docteurklein/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-02-03T08:12:02Z","updated_at":"2016-08-12T09:25:09Z","closed_at":"2016-02-06T22:31:36Z","body":"Currently, if I pass a multi statement sql query, and that one of the statements (except first) is wrong (error),  the migration still thinks everything is well.\r\n\r\nA potential solution would be to use PDO::nextRowSet() to detect failures in any statement.\r\n\r\nPS: using mysql driver."},"comment":{"url":"https://api.github.com/repos/doctrine/migrations/issues/comments/239401411","html_url":"https://github.com/doctrine/migrations/issues/427#issuecomment-239401411","issue_url":"https://api.github.com/repos/doctrine/migrations/issues/427","id":239401411,"user":{"login":"mikeSimonson","id":907613,"avatar_url":"https://avatars.githubusercontent.com/u/907613?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeSimonson","html_url":"https://github.com/mikeSimonson","followers_url":"https://api.github.com/users/mikeSimonson/followers","following_url":"https://api.github.com/users/mikeSimonson/following{/other_user}","gists_url":"https://api.github.com/users/mikeSimonson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeSimonson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeSimonson/subscriptions","organizations_url":"https://api.github.com/users/mikeSimonson/orgs","repos_url":"https://api.github.com/users/mikeSimonson/repos","events_url":"https://api.github.com/users/mikeSimonson/events{/privacy}","received_events_url":"https://api.github.com/users/mikeSimonson/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T09:25:09Z","updated_at":"2016-08-12T09:25:09Z","body":"@acasademont It's a PDO bug to allow mutli sql stmts to be passed in one call. It has nothing to do with mysql mysqli or mysqlnd. There is no sane way for us to detect that and prevent it."}}
{"actor":{"display_login":"mikeSimonson"}}