{"action":"created","issue":{"url":"https://api.github.com/repos/yesodweb/persistent/issues/451","labels_url":"https://api.github.com/repos/yesodweb/persistent/issues/451/labels{/name}","comments_url":"https://api.github.com/repos/yesodweb/persistent/issues/451/comments","events_url":"https://api.github.com/repos/yesodweb/persistent/issues/451/events","html_url":"https://github.com/yesodweb/persistent/pull/451","id":101204648,"number":451,"title":"Distinguish between binary and non-binary strings in MySQL","user":{"login":"MaxGabriel","id":1274145,"avatar_url":"https://avatars.githubusercontent.com/u/1274145?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxGabriel","html_url":"https://github.com/MaxGabriel","followers_url":"https://api.github.com/users/MaxGabriel/followers","following_url":"https://api.github.com/users/MaxGabriel/following{/other_user}","gists_url":"https://api.github.com/users/MaxGabriel/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxGabriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxGabriel/subscriptions","organizations_url":"https://api.github.com/users/MaxGabriel/orgs","repos_url":"https://api.github.com/users/MaxGabriel/repos","events_url":"https://api.github.com/users/MaxGabriel/events{/privacy}","received_events_url":"https://api.github.com/users/MaxGabriel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yesodweb/persistent/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-15T19:47:47Z","updated_at":"2015-08-29T17:20:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yesodweb/persistent/pulls/451","html_url":"https://github.com/yesodweb/persistent/pull/451","diff_url":"https://github.com/yesodweb/persistent/pull/451.diff","patch_url":"https://github.com/yesodweb/persistent/pull/451.patch"},"body":"Closes #448 \r\n\r\nThis PR adds a failing test case demonstrating persistent-mysql writing a `PersistText` but reading a `PersistByteString`. The second commit of the PR uses character set information to distinguish between ~~TEXT and BLOB~~ binary and non-binary strings in MySQL, fixing the failing test.\r\n\r\nThis PR could break existing code. If code is relying on reading a `PersistByteString` from a MySQL `TEXT` column, that code will break (as it did for `getColumn`)."},"comment":{"url":"https://api.github.com/repos/yesodweb/persistent/issues/comments/136010906","html_url":"https://github.com/yesodweb/persistent/pull/451#issuecomment-136010906","issue_url":"https://api.github.com/repos/yesodweb/persistent/issues/451","id":136010906,"user":{"login":"MaxGabriel","id":1274145,"avatar_url":"https://avatars.githubusercontent.com/u/1274145?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxGabriel","html_url":"https://github.com/MaxGabriel","followers_url":"https://api.github.com/users/MaxGabriel/followers","following_url":"https://api.github.com/users/MaxGabriel/following{/other_user}","gists_url":"https://api.github.com/users/MaxGabriel/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxGabriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxGabriel/subscriptions","organizations_url":"https://api.github.com/users/MaxGabriel/orgs","repos_url":"https://api.github.com/users/MaxGabriel/repos","events_url":"https://api.github.com/users/MaxGabriel/events{/privacy}","received_events_url":"https://api.github.com/users/MaxGabriel/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T17:20:15Z","updated_at":"2015-08-29T17:20:15Z","body":"Thanks for fixing build times @snoyberg; these tests were failing on > 50 minute builds before."}}