{"action":"opened","issue":{"url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/703","repository_url":"https://api.github.com/repos/TYPO3-Solr/ext-solr","labels_url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/703/labels{/name}","comments_url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/703/comments","events_url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/703/events","html_url":"https://github.com/TYPO3-Solr/ext-solr/issues/703","id":185305203,"number":703,"title":"Statistics module fails if running mysql in strict mode","user":{"login":"thomashohn","id":3414869,"avatar_url":"https://avatars.githubusercontent.com/u/3414869?v=3","gravatar_id":"","url":"https://api.github.com/users/thomashohn","html_url":"https://github.com/thomashohn","followers_url":"https://api.github.com/users/thomashohn/followers","following_url":"https://api.github.com/users/thomashohn/following{/other_user}","gists_url":"https://api.github.com/users/thomashohn/gists{/gist_id}","starred_url":"https://api.github.com/users/thomashohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomashohn/subscriptions","organizations_url":"https://api.github.com/users/thomashohn/orgs","repos_url":"https://api.github.com/users/thomashohn/repos","events_url":"https://api.github.com/users/thomashohn/events{/privacy}","received_events_url":"https://api.github.com/users/thomashohn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-26T06:08:21Z","updated_at":"2016-10-26T06:08:21Z","closed_at":null,"body":"Running mysql in strict mode makes the statistics module fail with at least this error:\r\n\r\n_caller => 'TYPO3\\CMS\\Core\\Database\\DatabaseConnection::exec_SELECTquery' (60 chars)\r\n   ERROR => 'Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggre\r\n      gated column 'tho.virksomheda.systime.dk.tx_solr_statistics.tstamp' which is\r\n       not functionally dependent on columns in GROUP BY clause; this is incompati\r\n      ble with sql_mode=only_full_group_by' (264 chars)\r\n   lastBuiltQuery => 'SELECT FLOOR(tstamp/86400) AS bucket, tstamp, COUNT(*) AS numQueries FROM tx\r\n      _solr_statistics WHERE tstamp > 1474869698 AND root_pid = 3586 GROUP BY b\r\n      ucket ORDER BY bucket ASC' (174 chars)_"}}
{"actor":{"display_login":"thomashohn"}}