Merge branch 'master' of git://git.assembla.com/fpdb-sql
This commit is contained in:
commit
c46c4b05d4
|
@ -1848,6 +1848,15 @@ class Sql:
|
||||||
self.query['getLimits2'] = """SELECT DISTINCT type, limitType, bigBlind
|
self.query['getLimits2'] = """SELECT DISTINCT type, limitType, bigBlind
|
||||||
from Gametypes
|
from Gametypes
|
||||||
ORDER by type, limitType DESC, bigBlind DESC"""
|
ORDER by type, limitType DESC, bigBlind DESC"""
|
||||||
|
self.query['getLimits3'] = """select DISTINCT type
|
||||||
|
, limittype
|
||||||
|
, case type
|
||||||
|
when 'ring' then bigblind
|
||||||
|
else buyin
|
||||||
|
end as bb_or_buyin
|
||||||
|
from gametypes gt
|
||||||
|
cross join tourneytypes tt
|
||||||
|
order by type, limitType DESC, bb_or_buyin DESC"""
|
||||||
|
|
||||||
if db_server == 'mysql':
|
if db_server == 'mysql':
|
||||||
self.query['playerDetailedStats'] = """
|
self.query['playerDetailedStats'] = """
|
||||||
|
|
Loading…
Reference in New Issue
Block a user