There appears to be a problem with table names like:
$2 + $0.25 Rebuy (1r+1a) (65040597), Table 32 - 15-30 - No Limit Hold'em
The SELECT query below is using "1r+1a" instead of the tourney number.
This was a 1 rebuy 1 addon tournament (hence 1r+1a in the title).
It looks like the code grabbed the contents of the first parenthesis. :)
2008/10/18 21:14:16.974: [Database (Error)] SQL exception while trying to query player: Error executing "SELECT tg.tourney_id FROM tourney_game tg, tourney t WHERE t.tourney_id=tg.tourney_id AND tg.table_name='Table 36' AND t.tourney_number=1r+1a ORDER BY tg.date_played DESC": ERROR: syntax error at or near "r";
Error while executing the query (location: 1013)
