mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2024-11-21 01:13:45 +08:00
Improved MySQL index handling on radius lookups (fixes #599)
This commit is contained in:
parent
d2bffb2103
commit
1cf940e201
@ -705,7 +705,7 @@ public class Lookup extends Queue {
|
||||
index = "USE INDEX(wid) IGNORE INDEX(type,user) ";
|
||||
}
|
||||
if ((restrictWorld && (users.length() > 0 || includeBlock.length() > 0 || includeEntity.length() > 0))) {
|
||||
index = "";
|
||||
index = "IGNORE INDEX(PRIMARY) ";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user