TOURNEY: rename a query
This commit is contained in:
parent
85cc5a5471
commit
ced3e8ac72
|
@ -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()
|
||||
|
||||
|
|
|
@ -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
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user