Alexandre Alapetite da4b08fc4a SQL fix fbrowser (RC)
https://github.com/friendica/friendica/pull/3742

Fixing non-standard GROUP BY, and non-standard ORDER BY.

```
DB Error 1055: Expression #2 of SELECT list is not in GROUP BY clause
and contains nonaggregated column 'friendica.photo.id' which is not
functionally dependent on columns in GROUP BY clause; this is
incompatible with sql_mode=only_full_group_by
q, fbrowser_content
SELECT `resource-id`, `id`, `filename`, type, min(`scale`) AS
`hiq`,max(`scale`) AS `loq`, `desc` FROM `photo` WHERE `uid` = 1 AND
`album` != 'Contact Photos' AND `album` != 'Contact Photos' GROUP BY
`resource-id` ORDER BY created DESC LIMIT 0, 10
2017-09-27T17:16:35Z@tmkfko6titb71nug3i4vr1mnb1 [NORMAL]:dba.php:553:p
DB Error 1055: Expression #2 of SELECT list is not in GROUP BY clause
and contains nonaggregated column 'friendica.photo.id' which is not
functionally dependent on columns in GROUP BY clause; this is
incompatible with sql_mode=only_full_group_by
q, fbrowser_content
```

```
ERROR 1055 (42000): Expression #1 of ORDER BY clause is not in GROUP BY
clause and contains nonaggregated column 'friendica.photo.created' which
is not functionally dependent on columns in GROUP BY clause; this is
incompatible with sql_mode=only_full_group_by
```
2017-09-28 21:24:07 +02:00
..
2017-05-02 22:59:36 -04:00
2017-09-25 19:05:05 +00:00
2017-05-02 22:59:36 -04:00
2017-05-02 23:36:46 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-08-11 08:04:01 +00:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-09-28 21:24:07 +02:00
2017-05-02 22:59:36 -04:00
2017-09-12 11:04:59 +00:00
2017-05-02 22:59:36 -04:00
2017-09-06 16:20:14 +00:00
2017-05-02 22:59:36 -04:00
2017-09-08 15:14:33 +00:00
2017-05-02 22:59:36 -04:00
2017-09-01 19:32:12 +00:00
2017-05-02 22:59:36 -04:00
2017-09-14 06:10:33 +00:00
2017-05-02 22:59:36 -04:00
2017-09-15 21:00:39 +00:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-09-15 21:00:39 +00:00
2017-09-15 21:00:39 +00:00
2017-09-15 21:00:39 +00:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-08-23 20:33:32 +00:00
2017-05-02 22:59:36 -04:00
2017-08-31 12:10:17 +00:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-05-02 22:59:36 -04:00
2017-08-26 07:52:49 +00:00
2017-05-07 14:44:30 -04:00
2017-08-30 06:20:01 +00:00