Revert "Update graph and session queries to identify ring games"
This reverts commit 585fd2feb2
.
This commit is contained in:
parent
585fd2feb2
commit
45210f0668
|
@ -2826,7 +2826,7 @@ class Sql:
|
||||||
AND h.startTime < '<enddate_test>'
|
AND h.startTime < '<enddate_test>'
|
||||||
<limit_test>
|
<limit_test>
|
||||||
<game_test>
|
<game_test>
|
||||||
AND gt.type is 'ring'
|
AND hp.tourneysPlayersId IS NULL
|
||||||
GROUP BY h.startTime, hp.handId, hp.sawShowdown, hp.totalProfit
|
GROUP BY h.startTime, hp.handId, hp.sawShowdown, hp.totalProfit
|
||||||
ORDER BY h.startTime"""
|
ORDER BY h.startTime"""
|
||||||
|
|
||||||
|
@ -2844,7 +2844,7 @@ class Sql:
|
||||||
INNER JOIN Players p on (p.Id = hp.playerId)
|
INNER JOIN Players p on (p.Id = hp.playerId)
|
||||||
WHERE hp.playerId in <player_test>
|
WHERE hp.playerId in <player_test>
|
||||||
AND date_format(h.startTime, '%Y-%m-%d') <datestest>
|
AND date_format(h.startTime, '%Y-%m-%d') <datestest>
|
||||||
AND gt.type is 'ring'
|
AND hp.tourneysPlayersId IS NULL
|
||||||
ORDER by time"""
|
ORDER by time"""
|
||||||
elif db_server == 'postgresql':
|
elif db_server == 'postgresql':
|
||||||
self.query['sessionStats'] = """
|
self.query['sessionStats'] = """
|
||||||
|
@ -2856,7 +2856,7 @@ class Sql:
|
||||||
INNER JOIN Players p on (p.Id = hp.playerId)
|
INNER JOIN Players p on (p.Id = hp.playerId)
|
||||||
WHERE hp.playerId in <player_test>
|
WHERE hp.playerId in <player_test>
|
||||||
AND h.startTime <datestest>
|
AND h.startTime <datestest>
|
||||||
AND gt.type is 'ring'
|
AND hp.tourneysPlayersId IS NULL
|
||||||
ORDER by time"""
|
ORDER by time"""
|
||||||
elif db_server == 'sqlite':
|
elif db_server == 'sqlite':
|
||||||
self.query['sessionStats'] = """
|
self.query['sessionStats'] = """
|
||||||
|
@ -2868,7 +2868,7 @@ class Sql:
|
||||||
INNER JOIN Players p on (p.Id = hp.playerId)
|
INNER JOIN Players p on (p.Id = hp.playerId)
|
||||||
WHERE hp.playerId in <player_test>
|
WHERE hp.playerId in <player_test>
|
||||||
AND h.startTime <datestest>
|
AND h.startTime <datestest>
|
||||||
AND gt.type is 'ring'
|
AND hp.tourneysPlayersId IS NULL
|
||||||
ORDER by time"""
|
ORDER by time"""
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user