changed DB priority to High
This commit is contained in:
parent
03952d76d3
commit
d51aea39cb
@ -494,5 +494,5 @@ public void OnClientPostAdminCheck(int client)
|
|||||||
|
|
||||||
char sQuery[512];
|
char sQuery[512];
|
||||||
Format(sQuery, sizeof(sQuery), "SELECT COUNT(*) AS 'rank' FROM hlstats_Players WHERE hlstats_Players.game = '%s' AND hideranking = 0 AND skill > (SELECT skill from hlstats_Players JOIN hlstats_PlayerUniqueIds ON hlstats_Players.playerId = hlstats_PlayerUniqueIds.playerId WHERE uniqueId = '%s' AND hlstats_PlayerUniqueIds.game = '%s')", sServer, sAuth, sServer);
|
Format(sQuery, sizeof(sQuery), "SELECT COUNT(*) AS 'rank' FROM hlstats_Players WHERE hlstats_Players.game = '%s' AND hideranking = 0 AND skill > (SELECT skill from hlstats_Players JOIN hlstats_PlayerUniqueIds ON hlstats_Players.playerId = hlstats_PlayerUniqueIds.playerId WHERE uniqueId = '%s' AND hlstats_PlayerUniqueIds.game = '%s')", sServer, sAuth, sServer);
|
||||||
g_hDatabase.Query(TQueryCB, sQuery, GetClientUserId(client));
|
g_hDatabase.Query(TQueryCB, sQuery, GetClientUserId(client), DBPrio_High);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user