basic optimisation in stats
This commit is contained in:
parent
a57483cfec
commit
8b25c67ba9
|
@ -4334,9 +4334,9 @@ class Sql:
|
||||||
################################
|
################################
|
||||||
# Counts for DB stats window
|
# Counts for DB stats window
|
||||||
################################
|
################################
|
||||||
self.query['getHandCount'] = "SELECT COUNT(id) FROM Hands"
|
self.query['getHandCount'] = "SELECT COUNT(*) FROM Hands"
|
||||||
self.query['getTourneyCount'] = "SELECT COUNT(id) FROM Tourneys"
|
self.query['getTourneyCount'] = "SELECT COUNT(*) FROM Tourneys"
|
||||||
self.query['getTourneyTypeCount'] = "SELECT COUNT(id) FROM TourneyTypes"
|
self.query['getTourneyTypeCount'] = "SELECT COUNT(*) FROM TourneyTypes"
|
||||||
|
|
||||||
################################
|
################################
|
||||||
# queries for dumpDatabase
|
# queries for dumpDatabase
|
||||||
|
|
Loading…
Reference in New Issue
Block a user