mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-23 16:41:22 +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 " +
|
||||
identifiers + ", ip, geolocation, MAX(last_used) FROM plan_ips_temp GROUP BY ip, " +
|
||||
(hasUserIdColumn ? userIdColumn : "uuid") +
|
||||
", geolocation");
|
||||
", geolocation, id");
|
||||
dropTable(tempTableName);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user