make it run with pgsql (gives pretty strange results tho)

This commit is contained in:
steffen123 2010-08-13 00:34:56 +02:00
parent f77e8ec714
commit 471726d450

View File

@ -2053,6 +2053,10 @@ class Database:
result=cursor.fetchone()
if result != None:
if self.backend == Database.PGSQL:
expectedValues = ('comment', 'tourneyname', 'matrixIdProcessed', 'totalRebuyCount', 'totalAddOnCount',
'prizepool', 'startTime', 'entries', 'commentTs', 'endTime')
else:
expectedValues = ('comment', 'tourneyName', 'matrixIdProcessed', 'totalRebuyCount', 'totalAddOnCount',
'prizepool', 'startTime', 'entries', 'commentTs', 'endTime')
updateDb=False