mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-01 08:20:39 +01:00
Fix sql syntax error
This commit is contained in:
parent
03335ec145
commit
8fe712ccfe
@ -113,7 +113,7 @@ public class AggregateQueries {
|
|||||||
*/
|
*/
|
||||||
public static Query<Map<String, Integer>> commandUsageCounts(UUID serverUUID) {
|
public static Query<Map<String, Integer>> commandUsageCounts(UUID serverUUID) {
|
||||||
String sql = "SELECT " + CommandUseTable.COMMAND + ", " + CommandUseTable.TIMES_USED + " FROM " + CommandUseTable.TABLE_NAME +
|
String sql = "SELECT " + CommandUseTable.COMMAND + ", " + CommandUseTable.TIMES_USED + " FROM " + CommandUseTable.TABLE_NAME +
|
||||||
"WHERE " + CommandUseTable.SERVER_ID + "=" + ServerTable.STATEMENT_SELECT_SERVER_ID;
|
" WHERE " + CommandUseTable.SERVER_ID + "=" + ServerTable.STATEMENT_SELECT_SERVER_ID;
|
||||||
|
|
||||||
return new QueryStatement<Map<String, Integer>>(sql, 5000) {
|
return new QueryStatement<Map<String, Integer>>(sql, 5000) {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user