Database: Fix MySQL crasher
Tablename with an odd .fr character caused the insert in Hands to fail Resolves: http://sourceforge.net/apps/mantisbt/fpdb/view.php?id=60
This commit is contained in:
parent
e705188dd2
commit
b39637866c
|
@ -1699,6 +1699,10 @@ class Database:
|
||||||
pp = pprint.PrettyPrinter(indent=4)
|
pp = pprint.PrettyPrinter(indent=4)
|
||||||
pp.pprint(p)
|
pp.pprint(p)
|
||||||
print _("###### End Hands ########")
|
print _("###### End Hands ########")
|
||||||
|
|
||||||
|
# Tablename can have odd charachers
|
||||||
|
p['tableName'] = Charset.to_db_utf8(p['tableName'])
|
||||||
|
|
||||||
#stores into table hands:
|
#stores into table hands:
|
||||||
q = self.sql.query['store_hand']
|
q = self.sql.query['store_hand']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user