Commit Graph

8 Commits

Author SHA1 Message Date
Chaz Littlejohn
8c4d5d42b4 Added printtest back in and fixed a couple of SessionsCache bugs 2011-03-23 19:27:55 +00:00
Chaz Littlejohn
66e1cc3704 This commit includes a set of updates which:
* implement the new SessionsCache table
    - The SessionsCache table can be used to track overall or game sepecific sessions
    - The totalProfit field is summed by gameTypeId for cash games allowing for multiple currencies
    - Tournament profit (cashes - buy-ins) are also recorded in totalProfit and its grouped by tourneyId
* change the sequence and methodology surrounding the import of hands
    - fpdb_import.py implements a unique Hand.py method for each table
    - Hands SessionCache and HudCache records themselves are 'cached' to allow for 'bulk insert' at EOF
    - import is reorganized to allow for efficient locking in multiple connection environments
* changes the name of the index created by addTPlayersIndex (so that it is unique) to accommodate a bug in MySQL 5.5

TODO
* A 'rebuild_sessionsCache' method is still required
* Further commits are expected to fix bugs created during the porting of this code
2011-03-23 19:27:55 +00:00
Steffen Schaumburg
8a519699b5 update copyright year 2011-03-10 06:16:31 +01:00
atinm
644b2d7849 replaced /usr/bin/python with /usr/bin/env python 2011-02-27 21:17:07 +08:00
Worros
f7f8122af8 GTI: Add utf16 file handling 2010-11-15 13:39:36 +08:00
Worros
17bd4f3954 GTI: Cleanup
Remove a series of debug messages

Add some code to remove heading or trailing characters after the split
2010-11-11 14:59:18 +08:00
Worros
7e1fa36b3a GTI: Add command line interface for Tourney Sumary import 2010-11-10 19:23:03 +08:00
Worros
1c81df21ce GuiTourneyImport: First pass at a 'Bulk Importer' for Tourney Summaries 2010-11-09 20:29:13 +08:00