{"action":"created","issue":{"url":"https://api.github.com/repos/sidorares/node-mysql2/issues/341","repository_url":"https://api.github.com/repos/sidorares/node-mysql2","labels_url":"https://api.github.com/repos/sidorares/node-mysql2/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/sidorares/node-mysql2/issues/341/comments","events_url":"https://api.github.com/repos/sidorares/node-mysql2/issues/341/events","html_url":"https://github.com/sidorares/node-mysql2/pull/341","id":163996997,"number":341,"title":"Replace bn.js with Long","user":{"login":"sheeley","id":121681,"avatar_url":"https://avatars.githubusercontent.com/u/121681?v=3","gravatar_id":"","url":"https://api.github.com/users/sheeley","html_url":"https://github.com/sheeley","followers_url":"https://api.github.com/users/sheeley/followers","following_url":"https://api.github.com/users/sheeley/following{/other_user}","gists_url":"https://api.github.com/users/sheeley/gists{/gist_id}","starred_url":"https://api.github.com/users/sheeley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheeley/subscriptions","organizations_url":"https://api.github.com/users/sheeley/orgs","repos_url":"https://api.github.com/users/sheeley/repos","events_url":"https://api.github.com/users/sheeley/events{/privacy}","received_events_url":"https://api.github.com/users/sheeley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-07-06T04:39:44Z","updated_at":"2016-07-08T16:02:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sidorares/node-mysql2/pulls/341","html_url":"https://github.com/sidorares/node-mysql2/pull/341","diff_url":"https://github.com/sidorares/node-mysql2/pull/341.diff","patch_url":"https://github.com/sidorares/node-mysql2/pull/341.patch"},"body":"For issue #336. Not sure if this was the intended change, but tests continue to pass (though lint fails on 0.10 and 0.12 for some reason?!)."},"comment":{"url":"https://api.github.com/repos/sidorares/node-mysql2/issues/comments/231399764","html_url":"https://github.com/sidorares/node-mysql2/pull/341#issuecomment-231399764","issue_url":"https://api.github.com/repos/sidorares/node-mysql2/issues/341","id":231399764,"user":{"login":"sheeley","id":121681,"avatar_url":"https://avatars.githubusercontent.com/u/121681?v=3","gravatar_id":"","url":"https://api.github.com/users/sheeley","html_url":"https://github.com/sheeley","followers_url":"https://api.github.com/users/sheeley/followers","following_url":"https://api.github.com/users/sheeley/following{/other_user}","gists_url":"https://api.github.com/users/sheeley/gists{/gist_id}","starred_url":"https://api.github.com/users/sheeley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheeley/subscriptions","organizations_url":"https://api.github.com/users/sheeley/orgs","repos_url":"https://api.github.com/users/sheeley/repos","events_url":"https://api.github.com/users/sheeley/events{/privacy}","received_events_url":"https://api.github.com/users/sheeley/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T16:02:53Z","updated_at":"2016-07-08T16:02:53Z","body":"I don't think that we should expect `-123` or `-999` - that's why I posted the SQL snippet above. This is what the mysql docs say:\r\n\r\n> When a new AUTO_INCREMENT value has been generated, you can also obtain it by executing a SELECT LAST_INSERT_ID() statement with mysql_query() and retrieving the value from the result set returned by the statement.\r\n\r\nMy reading of that says \"because you're specifying `-123` or `-999` as the id, it's not creating a new AUTO_INCREMENT value. Is that what gets returned? If not, can you point me at the right docs? \r\n\r\nWill update the `signed` thing, silly miss on my part."}}
{"actor":{"display_login":"sheeley"}}