[NEWIMPORT] Add playersAtStreetX to insert

This commit is contained in:
Worros 2009-10-08 18:13:13 +08:00
parent cf6c3c8ad0
commit 6d0ec5d831

View File

@ -1388,6 +1388,11 @@ class Database:
boardcard3, boardcard3,
boardcard4, boardcard4,
boardcard5, boardcard5,
playersAtStreet1,
playersAtStreet2,
playersAtStreet3,
playersAtStreet4,
playersAtShowdown,
street1Pot, street1Pot,
street2Pot, street2Pot,
street3Pot, street3Pot,
@ -1396,19 +1401,14 @@ class Database:
) )
VALUES VALUES
(%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s,
%s, %s, %s, %s, %s, %s, %s, %s)""" %s, %s, %s, %s, %s, %s, %s, %s, %s, %s,
%s, %s, %s)"""
#--- texture, #--- texture,
#-- playersAtStreet1,
#-- playersAtStreet2,
#-- playersAtStreet3,
#-- playersAtStreet4,
#-- playersAtShowdown,
#-- street0Raises, #-- street0Raises,
#-- street1Raises, #-- street1Raises,
#-- street2Raises, #-- street2Raises,
#-- street3Raises, #-- street3Raises,
#-- street4Raises, #-- street4Raises,
#-- seats,
q = q.replace('%s', self.sql.query['placeholder']) q = q.replace('%s', self.sql.query['placeholder'])
print "DEBUG: p: %s" %p print "DEBUG: p: %s" %p
@ -1427,11 +1427,11 @@ class Database:
p['boardcard3'], p['boardcard3'],
p['boardcard4'], p['boardcard4'],
p['boardcard5'], p['boardcard5'],
# hudCache['playersAtStreet1'], p['playersAtStreet1'],
# hudCache['playersAtStreet2'], p['playersAtStreet2'],
# hudCache['playersAtStreet3'], p['playersAtStreet3'],
# hudCache['playersAtStreet4'], p['playersAtStreet4'],
# hudCache['playersAtShowdown'], p['playersAtShowdown'],
# hudCache['street0Raises'], # hudCache['street0Raises'],
# hudCache['street1Raises'], # hudCache['street1Raises'],
# hudCache['street2Raises'], # hudCache['street2Raises'],