Tourney Graphing and Summary import update

It now gets through my 200 tourney torture test.
This commit is contained in:
Worros
2010-09-04 20:06:24 +08:00
parent e66b98b345
commit 016b0ed48f
5 changed files with 27 additions and 22 deletions
+1 -1
View File
@@ -3050,7 +3050,7 @@ class Sql:
# Tourney Results query
####################################
self.query['tourneyResults'] = """
SELECT (tp.winnings - tt.buyIn - tt.fee) as profit, tp.koCount, tp.rebuyCount, tp.addOnCount, tt.buyIn, tt.fee
SELECT tp.tourneyId, (tp.winnings - tt.buyIn - tt.fee) as profit, tp.koCount, tp.rebuyCount, tp.addOnCount, tt.buyIn, tt.fee, t.siteTourneyNo
FROM TourneysPlayers tp
INNER JOIN Players pl ON (pl.id = tp.playerId)
INNER JOIN Tourneys t ON (t.id = tp.tourneyId)