add test case that made me add special test for sqlite in insertplayers - can't repeat now so removing test. Error was that a unicode type (name) was encoded to UTF-8 by Charset.to_db_utf8() and then errored when passed to sqlite. sqlite3 can handle unicode types directly so I added a test to skip the to_db_utf8() if using sqlite. Perhaps problem was caused by moving hand history between machines (but shouldn't it still work anyway?)

This commit is contained in:
sqlcoder 2010-01-29 22:15:09 +00:00
parent 23e0611978
commit 5982df0b04

View File

@ -0,0 +1,44 @@
PokerStars Game #28817981310: Hold'em Limit ($0.25/$0.50) - 2009/05/31 4:38:53 ET
Table 'Mufrid II' 6-max Seat #1 is the button
Seat 1: AirbornMac ($16.90 in chips)
Seat 2: Im a Fishhhh ($6.25 in chips)
Seat 3: SteadyAim ($10 in chips)
Seat 4: DrickDaSlick ($6.40 in chips)
Seat 5: vik55 ($11.65 in chips)
Seat 6: Malbés ($9.55 in chips)
Im a Fishhhh: posts small blind $0.10
SteadyAim: posts big blind $0.25
*** HOLE CARDS ***
Dealt to SteadyAim [5s Jc]
DrickDaSlick: folds
vik55: folds
Malbés: raises $0.25 to $0.50
AirbornMac: folds
Im a Fishhhh: calls $0.40
SteadyAim: folds
*** FLOP *** [Ks 6c Qh]
Im a Fishhhh: checks
Malbés: bets $0.25
Im a Fishhhh: calls $0.25
*** TURN *** [Ks 6c Qh] [Td]
Im a Fishhhh: checks
Malbés: bets $0.50
Im a Fishhhh: calls $0.50
*** RIVER *** [Ks 6c Qh Td] [Kd]
Im a Fishhhh: checks
Malbés: checks
*** SHOW DOWN ***
Im a Fishhhh: shows [As 8h] (a pair of Kings)
Malbés: mucks hand
Im a Fishhhh collected $2.65 from pot
*** SUMMARY ***
Total pot $2.75 | Rake $0.10
Board [Ks 6c Qh Td Kd]
Seat 1: AirbornMac (button) folded before Flop (didn't bet)
Seat 2: Im a Fishhhh (small blind) showed [As 8h] and won ($2.65) with a pair of Kings
Seat 3: SteadyAim (big blind) folded before Flop
Seat 4: DrickDaSlick folded before Flop (didn't bet)
Seat 5: vik55 folded before Flop (didn't bet)
Seat 6: Malbés mucked [7d Jd]