Database Error 1r+1a

Experiencing technical difficulties? Think you've found a problem with PokerAce Hud? Report it here.

Moderator: Moderators

Database Error 1r+1a

Postby hartmannr » Sun Oct 19, 2008 5:48 pm

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)
hartmannr
 
Posts: 6
Joined: Sat Sep 06, 2008 6:02 pm

Re: Database Error 1r+1a

Postby WhiteRider » Sun Oct 19, 2008 5:51 pm

Where exactly do you see this error?
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Database Error 1r+1a

Postby hartmannr » Mon Oct 20, 2008 6:09 pm

The error just pops up in a message box. I can send you an image if you want.
Here is the error from the log:
2008/10/18 21:14:16.974: [Database] [PTPGSQL1] SQL Statement: 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
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)

This is clearly a bad SQL statement: "AND t.tourney_number=1r+1a"
I happen to be a database expert.
hartmannr
 
Posts: 6
Joined: Sat Sep 06, 2008 6:02 pm

Re: Database Error 1r+1a

Postby WhiteRider » Mon Oct 20, 2008 6:12 pm

I mean, is it a PAHud error or a PT2 error?

Please create a ticket about this on the Support system and attach a screenshot and a hand history file from one of these tournaments so that we can investigate.
Thanks.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Database Error 1r+1a

Postby hartmannr » Mon Oct 20, 2008 6:27 pm

The message box indicates a PA HUD error.
I have submitted a support ticket.
hartmannr
 
Posts: 6
Joined: Sat Sep 06, 2008 6:02 pm

Re: Database Error 1r+1a

Postby WhiteRider » Tue Oct 21, 2008 4:32 am

Thanks.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 6 guests

cron
highfalutin