Skip to content

Commit

Permalink
Improved MySQL index handling on radius lookups (fixes #599)
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelli committed Aug 16, 2024
1 parent d2bffb2 commit 1cf940e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/coreprotect/database/Lookup.java
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ else if (actionList.contains(11)) {
index = "USE INDEX(wid) IGNORE INDEX(type,user) ";
}
if ((restrictWorld && (users.length() > 0 || includeBlock.length() > 0 || includeEntity.length() > 0))) {
index = "";
index = "IGNORE INDEX(PRIMARY) ";
}
}

Expand Down

0 comments on commit 1cf940e

Please sign in to comment.