TOURNEY: rename a query

This commit is contained in:
steffen123 2010-07-14 22:44:10 +02:00
parent 85cc5a5471
commit ced3e8ac72
2 changed files with 2 additions and 2 deletions

View File

@ -2084,7 +2084,7 @@ class Database:
raise FpdbParseError("invalid source in Database.createOrUpdateTourneysPlayers")
cursor = self.get_cursor()
cursor.execute (self.sql.query['getTourneysPlayersId'].replace('%s', self.sql.query['placeholder']),
cursor.execute (self.sql.query['getTourneysPlayersIdByIds'].replace('%s', self.sql.query['placeholder']),
(hand.tourneyId, playerId))
result=cursor.fetchone()

View File

@ -3727,7 +3727,7 @@ class Sql:
WHERE id=%s
"""
self.query['getTourneysPlayersId'] = """SELECT id
self.query['getTourneysPlayersIdByIds'] = """SELECT id
FROM TourneysPlayers
WHERE tourneyId=%s AND playerId+0=%s
"""