{"action":"opened","issue":{"url":"https://api.github.com/repos/sidorares/node-mysql2/issues/291","repository_url":"https://api.github.com/repos/sidorares/node-mysql2","labels_url":"https://api.github.com/repos/sidorares/node-mysql2/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/sidorares/node-mysql2/issues/291/comments","events_url":"https://api.github.com/repos/sidorares/node-mysql2/issues/291/events","html_url":"https://github.com/sidorares/node-mysql2/issues/291","id":151717460,"number":291,"title":"Possible incorrect length calculation","user":{"login":"vogievetsky","id":177816,"avatar_url":"https://avatars.githubusercontent.com/u/177816?v=3","gravatar_id":"","url":"https://api.github.com/users/vogievetsky","html_url":"https://github.com/vogievetsky","followers_url":"https://api.github.com/users/vogievetsky/followers","following_url":"https://api.github.com/users/vogievetsky/following{/other_user}","gists_url":"https://api.github.com/users/vogievetsky/gists{/gist_id}","starred_url":"https://api.github.com/users/vogievetsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vogievetsky/subscriptions","organizations_url":"https://api.github.com/users/vogievetsky/orgs","repos_url":"https://api.github.com/users/vogievetsky/repos","events_url":"https://api.github.com/users/vogievetsky/events{/privacy}","received_events_url":"https://api.github.com/users/vogievetsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-28T18:56:53Z","updated_at":"2016-04-28T18:56:53Z","closed_at":null,"body":"I came in here to make a fix only to see that @jitendra beat me to it in the last commit: https://github.com/sidorares/node-mysql2/commit/cd16a0a7ad2d273fa5126135479d4698bd554cea\r\n\r\nWhen I was looking for the bug I found another place where the same issue might exist:\r\nhttps://github.com/sidorares/node-mysql2/blob/master/lib/packets/column_definition.js#L86\r\n\r\nlengthCodedNumberLength is being called with a string.\r\n\r\nShould I submit a PR?\r\n\r\n"}}