forked from github-mirror/CoreProtect
Improved MySQL index handling on radius lookups (fixes #599)
This commit is contained in:
1 parent
d2bffb2103
commit
1cf940e201
1 file changed
+1
-1
@@ -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) ";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user