fpdb/pyfpdb
Worros 51ce6fc191 Index mods '+0' from sqlcoder on mailing list
Have been tested and provide a significant improvement on import.

"""
Along with new indexes, I think some of the sql in fpdb_simple can be
altered to make it use existing indexes more effectively. Generally
these mods affect statements where the db has a choice of 2 indexes to
use and I think it is choosing badly, e.g. it is using tourneyTypeId
which could match the whole table when it could use the new
siteTourneyNo index which will return very few rows.

To stop the db from using an index I'm just adding zero to the field, so
something like
   playerId = %s
changes to
   playerId+0 = %s
We humans can tell this is no real change at all, but the db sees this
as a change from <field> = <value> to <expression> = <value>, and it can
only use the index if the <field> the index is on is being tested.
(Nowadays you can index expressions in some databases but we'll ignore
that!)
"""
2008-12-05 17:18:13 +09:00
..
CarbonToFpdb.py Minor update to Carbon poker - read gametype + sb/bb 2008-11-09 16:27:27 +10:00
Cards01.png p58 - added HUD from ray 2008-08-18 23:53:25 +01:00
CliFpdb.py Lots of changes. Fixes the hud for auto-import - at least for me. 2008-11-09 21:57:58 +10:00
Configuration.py Add "hudcolor" attribute to all <stat> definitions, drop font size to Sans 7, since i can't fit my stats in comfortably anymore 2008-11-25 06:47:58 -05:00
Database.py Support for the mucked cards window. Still a bug in the card storing. 2008-11-12 22:45:09 -05:00
EverleafToFpdb.py hole cards / community cards extracted and added to printout 2008-12-03 23:57:20 +00:00
fpdb_db.py Fix MySQL 'ADD INDEX' syntax, add functions to create_tables 2008-12-03 18:18:20 +09:00
fpdb_import.py remove spurious window realize from popup_window as well 2008-11-27 08:35:17 -05:00
fpdb_parse_logic.py stat windows no longer call realize() as that is done automatically by gtk when needed 2008-11-27 05:12:07 -05:00
fpdb_save_to_db.py p130 - stud/razz tourneys run again, but completely unverified (like holdem/omaha tourneys 2008-10-09 07:17:18 +01:00
fpdb_simple.py Index mods '+0' from sqlcoder on mailing list 2008-12-05 17:18:13 +09:00
fpdb.py p143 - update title 2008-11-10 02:21:47 +00:00
FpdbRegex.py Everleaf update - Holecards read 2008-11-12 14:12:18 +10:00
FpdbSQLQueries.py Fix MySQL 'ADD INDEX' syntax, add functions to create_tables 2008-12-03 18:18:20 +09:00
GuiAutoImport.py Merge branch 'master' of git://git.assembla.com/fpdb-eric 2008-11-10 22:55:24 +10:00
GuiBulkImport.py Update bulk import codepath to output total import time. 2008-12-01 20:07:38 +09:00
GuiGraphViewer.py Whitespace churn on Graph viewer 2008-12-04 16:15:38 +09:00
GuiTableViewer.py p139 - fixed TV and removed old config 2008-11-06 23:58:41 +00:00
HandHistory.py p58 - added HUD from ray 2008-08-18 23:53:25 +01:00
HandHistoryConverter.py hole cards / community cards extracted and added to printout 2008-12-03 23:57:20 +00:00
HUD_config.xml.example : 2008-11-18 14:27:30 +09:00
HUD_main.py More changes to support mucked/aux windows. 2008-11-16 17:53:31 -05:00
Hud.py remove spurious window realize from popup_window as well 2008-11-27 08:35:17 -05:00
Mucked.py More changes to support mucked/aux windows. 2008-11-16 17:53:31 -05:00
RegressionTest.py More Everleaf updates, may have a functional regex for action in NLHE 2008-11-16 13:44:16 +09:00
SQL.py Support for the mucked cards window. Still a bug in the card storing. 2008-11-12 22:45:09 -05:00
Stats.py clean up some stat descriptions 2008-11-25 07:33:20 -05:00
Tables.py Fixed error detecting FTP tables on NT 2008-11-22 17:28:12 -05:00