{"action":"closed","issue":{"url":"https://api.github.com/repos/mysqljs/mysql/issues/1944","repository_url":"https://api.github.com/repos/mysqljs/mysql","labels_url":"https://api.github.com/repos/mysqljs/mysql/issues/1944/labels{/name}","comments_url":"https://api.github.com/repos/mysqljs/mysql/issues/1944/comments","events_url":"https://api.github.com/repos/mysqljs/mysql/issues/1944/events","html_url":"https://github.com/mysqljs/mysql/issues/1944","id":299139005,"number":1944,"title":"Does a insert query implicitly rollback the transaction on error?","user":{"login":"bernardocs","id":513789,"avatar_url":"https://avatars1.githubusercontent.com/u/513789?v=4","gravatar_id":"","url":"https://api.github.com/users/bernardocs","html_url":"https://github.com/bernardocs","followers_url":"https://api.github.com/users/bernardocs/followers","following_url":"https://api.github.com/users/bernardocs/following{/other_user}","gists_url":"https://api.github.com/users/bernardocs/gists{/gist_id}","starred_url":"https://api.github.com/users/bernardocs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernardocs/subscriptions","organizations_url":"https://api.github.com/users/bernardocs/orgs","repos_url":"https://api.github.com/users/bernardocs/repos","events_url":"https://api.github.com/users/bernardocs/events{/privacy}","received_events_url":"https://api.github.com/users/bernardocs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-21T21:41:39Z","updated_at":"2018-03-05T19:04:18Z","closed_at":"2018-03-05T19:04:18Z","author_association":"NONE","body":"As the title suggests, I'm thinking if I may have to implement the same query with `beginTransaction`, `commit`, `rollback`, etc, if the `conn.query('insert ...')` fail and does not rollback the transaction.\r\n\r\nI searched throught the docs and didn't find any entry about this. MySQL docs says that no transactions are rolled back right after the error occurs. Does this driver handle this? :thinking: "}}
{"actor":{"display_login":"bernardocs"}}