mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Fix UserInfoOptimizationPatch clearing out join_address data.
This commit is contained in:
parent
cf7d63a9bc
commit
423edbb631
@ -56,13 +56,15 @@ public class UserInfoOptimizationPatch extends Patch {
|
||||
UserInfoTable.SERVER_ID + ',' +
|
||||
UserInfoTable.REGISTERED + ',' +
|
||||
UserInfoTable.BANNED + ',' +
|
||||
UserInfoTable.OP +
|
||||
UserInfoTable.OP + ',' +
|
||||
UserInfoTable.JOIN_ADDRESS +
|
||||
") SELECT " +
|
||||
"(SELECT plan_users.id FROM plan_users WHERE plan_users.uuid = " + tempTableName + ".uuid LIMIT 1), " +
|
||||
"(SELECT plan_servers.id FROM plan_servers WHERE plan_servers.uuid = " + tempTableName + ".server_uuid LIMIT 1), " +
|
||||
UserInfoTable.REGISTERED + ',' +
|
||||
UserInfoTable.BANNED + ',' +
|
||||
UserInfoTable.OP +
|
||||
UserInfoTable.OP + ',' +
|
||||
UserInfoTable.JOIN_ADDRESS +
|
||||
FROM + tempTableName
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user