mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-02-02 21:41:28 +01:00
Fix IPAnonPatch on MySQL with sql_mode=only_full_group_by
This commit is contained in:
parent
da61f17b9e
commit
bbd9687b49
@ -121,7 +121,7 @@ public class IPAnonPatch extends Patch {
|
|||||||
") SELECT " +
|
") SELECT " +
|
||||||
identifiers + ", ip, geolocation, MAX(last_used) FROM plan_ips_temp GROUP BY ip, " +
|
identifiers + ", ip, geolocation, MAX(last_used) FROM plan_ips_temp GROUP BY ip, " +
|
||||||
(hasUserIdColumn ? userIdColumn : "uuid") +
|
(hasUserIdColumn ? userIdColumn : "uuid") +
|
||||||
", geolocation");
|
", geolocation, id");
|
||||||
dropTable(tempTableName);
|
dropTable(tempTableName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user