{"action":"created","issue":{"url":"https://api.github.com/repos/zendesk/maxwell/issues/317","repository_url":"https://api.github.com/repos/zendesk/maxwell","labels_url":"https://api.github.com/repos/zendesk/maxwell/issues/317/labels{/name}","comments_url":"https://api.github.com/repos/zendesk/maxwell/issues/317/comments","events_url":"https://api.github.com/repos/zendesk/maxwell/issues/317/events","html_url":"https://github.com/zendesk/maxwell/issues/317","id":150182446,"number":317,"title":"second primary key is coming as null with Percona MySQL ","user":{"login":"xmlking","id":627951,"avatar_url":"https://avatars.githubusercontent.com/u/627951?v=3","gravatar_id":"","url":"https://api.github.com/users/xmlking","html_url":"https://github.com/xmlking","followers_url":"https://api.github.com/users/xmlking/followers","following_url":"https://api.github.com/users/xmlking/following{/other_user}","gists_url":"https://api.github.com/users/xmlking/gists{/gist_id}","starred_url":"https://api.github.com/users/xmlking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmlking/subscriptions","organizations_url":"https://api.github.com/users/xmlking/orgs","repos_url":"https://api.github.com/users/xmlking/repos","events_url":"https://api.github.com/users/xmlking/events{/privacy}","received_events_url":"https://api.github.com/users/xmlking/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-21T20:27:09Z","updated_at":"2016-05-04T06:55:25Z","closed_at":null,"body":"while testing with `Percona MySQL` , we noticed second primarykey is coming as `null `.\r\nwonder if anyone else facing this issue? \r\n\r\n```sql\r\nUPDATE test.person SET\r\n  id = 5,\r\n  firstName = 'aaa',\r\n  address_id = 3\r\nWHERE id = 1 AND firstName = 'qqqq';\r\n```\r\n\r\nkafka key:\r\n```json\r\n'{\"database\":\"test\",\"table\":\"person\",\"pk.id\":5,\"pk.firstName\":null}'\r\n```\r\n\r\nkafka value: \r\n```json\r\n{\r\n    \"database\": \"test\",\r\n    \"table\": \"person\",\r\n    \"type\": \"update\",\r\n    \"ts\": 1458335796,\r\n    \"xid\": 4168944,\r\n    \"commit\": true,\r\n    \"data\": {\r\n        \"firstname\": \"aaa\",\r\n        \"address_id\": 3,\r\n        \"id\": 5,\r\n        \"lastname\": \"aaa\"\r\n    },\r\n    \"old\": {\r\n        \"firstname\": \"qqqq\",\r\n        \"address_id\": 4,\r\n        \"id\": 1\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/zendesk/maxwell/issues/comments/216760835","html_url":"https://github.com/zendesk/maxwell/issues/317#issuecomment-216760835","issue_url":"https://api.github.com/repos/zendesk/maxwell/issues/317","id":216760835,"user":{"login":"xmlking","id":627951,"avatar_url":"https://avatars.githubusercontent.com/u/627951?v=3","gravatar_id":"","url":"https://api.github.com/users/xmlking","html_url":"https://github.com/xmlking","followers_url":"https://api.github.com/users/xmlking/followers","following_url":"https://api.github.com/users/xmlking/following{/other_user}","gists_url":"https://api.github.com/users/xmlking/gists{/gist_id}","starred_url":"https://api.github.com/users/xmlking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmlking/subscriptions","organizations_url":"https://api.github.com/users/xmlking/orgs","repos_url":"https://api.github.com/users/xmlking/repos","events_url":"https://api.github.com/users/xmlking/events{/privacy}","received_events_url":"https://api.github.com/users/xmlking/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T06:55:25Z","updated_at":"2016-05-04T06:55:25Z","body":"Changing to `data.containsKey(pk.toLowerCase()) ` at three locations works for me.\r\nWill you cosider releasing this fix?"}}