turns out the the '+0' is for indexing and has nothing to do with NULLS so I put it back in

This commit is contained in:
Chaz 2010-12-02 00:27:03 -05:00
parent 5fd3dddf2b
commit 5a2fcea9df

View File

@ -3964,12 +3964,12 @@ class Sql:
street2Raises=street2Raises+%s,
street3Raises=street3Raises+%s,
street4Raises=street4Raises+%s
WHERE gametypeId=%s
WHERE gametypeId+0=%s
AND playerId=%s
AND activeSeats=%s
AND position=%s
AND (case when tourneyTypeId is NULL then 1 else
(case when tourneyTypeId=%s then 1 else 0 end) end)=1
(case when tourneyTypeId+0=%s then 1 else 0 end) end)=1
AND styleKey=%s"""
self.query['get_hero_hudcache_start'] = """select min(hc.styleKey)