sqlcoder
|
f69281e2fd
|
finish hudcache rebuild code which speeds up bulk imports nicely - turn off permanently via allow_hudcache_rebuild in fpdb_import.py. Also some more moves into Database.py and cosmetic stuff
|
2009-07-21 22:26:23 +01:00 |
|
Worros
|
b92feee021
|
Revert Matts change for sqlite until fixed.
Previous syntax failed to insert the required line into TourneyTypes
|
2009-07-15 23:58:34 +08:00 |
|
Worros
|
83f21e822d
|
Merge branch 'master' of git://git.assembla.com/mctfpdb
Conflicts:
pyfpdb/fpdb_db.py
|
2009-07-15 23:09:25 +08:00 |
|
Worros
|
521e17f856
|
Add some boilerplate stuff for Boss Media/Win2day plugin
|
2009-07-15 12:22:46 +08:00 |
|
Matt Turnbull
|
79ca83c95a
|
Merge from ray, minor conflicts
|
2009-07-15 00:20:26 +01:00 |
|
Matt Turnbull
|
806d61ae23
|
log line
|
2009-07-15 00:14:25 +01:00 |
|
Matt Turnbull
|
dc6a1c45f9
|
sqlite - connecting and (re)creating some tables
|
2009-07-14 00:04:10 +01:00 |
|
sqlcoder
|
04b9dd9126
|
use Players table for global lock because Database.init() tries to access Hands
|
2009-06-30 21:58:59 +01:00 |
|
sqlcoder
|
cb323d2d63
|
remove unused queries
|
2009-06-28 17:20:41 +01:00 |
|
Worros
|
706ce46a9f
|
Boardcards for Hands table in new importer
|
2009-06-20 07:58:53 +08:00 |
|
Worros
|
d00031edf7
|
Add get_last_insert_id() to Database API
|
2009-06-20 06:22:57 +08:00 |
|
Worros
|
a47ff7fb9b
|
Fix case sensitivity in test for Hands table before dropping
|
2009-06-20 00:58:41 +08:00 |
|
sqlcoder
|
9d87e35082
|
fix quit option and postgres/windows connecting after last merges
|
2009-06-09 21:38:30 +01:00 |
|
Worros
|
c3d2c5a2be
|
Merge branch 'master' of git://git.assembla.com/free_poker_tools
Conflicts:
pyfpdb/Database.py
pyfpdb/SQL.py
pyfpdb/fpdb_db.py
pyfpdb/fpdb_save_to_db.py
Also fix datetime issue with Everleaf
|
2009-06-09 22:48:48 +08:00 |
|
Worros
|
f1b887502c
|
Merge branch 'master' of git://git.assembla.com/fpdb-sql
Conflicts:
pyfpdb/fpdb_db.py
|
2009-06-08 19:18:58 +08:00 |
|
Worros
|
4f555e2d8f
|
Hand.insert() update - low hanging fruit
|
2009-06-08 18:19:55 +08:00 |
|
sqlcoder
|
0a7c340656
|
Added timing info for index drop/create. Some small mods to output during import (obviously just change any you don't like)
|
2009-06-07 22:21:58 +01:00 |
|
sqlcoder
|
7e8b80948c
|
move index etc functions from fpdb_simple.py into fpdb_db.py
|
2009-06-07 20:45:09 +01:00 |
|
sqlcoder
|
45a303eb25
|
make global lock work (do nothing) if hands table doesn't exist
|
2009-06-07 20:07:18 +01:00 |
|
Ray
|
5013a07fc0
|
Minor change for postgres connection--not tested w/remote db.
|
2009-06-02 10:59:54 -04:00 |
|
Worros
|
44cb8efb2c
|
Add reminder for id caching
|
2009-06-01 22:21:40 +08:00 |
|
Worros
|
3e49e87842
|
Begin moving query functions into fpdb_db function
No idea whether the code actually works
|
2009-06-01 20:53:42 +08:00 |
|
Worros
|
a261517175
|
Add additional siteids to db, move player select function
|
2009-06-01 17:14:31 +08:00 |
|
Ray
|
069aa025e4
|
Fixes for importing and HUD with the postgres db.
|
2009-05-31 21:25:36 -04:00 |
|
Worros
|
0c0832b9d3
|
Bump db version number
|
2009-05-31 02:56:08 +08:00 |
|
sqlcoder
|
0651e89e2e
|
add try-except blocks and correct spelling
|
2009-05-21 18:02:42 +01:00 |
|
sqlcoder
|
4ffc028bbc
|
oops, missed out the key change in previous commit
|
2009-05-07 21:24:06 +01:00 |
|
Worros
|
5139b88538
|
utf8 fix to db connection
Change mysql connection type to use_unicode.
|
2009-03-28 20:51:54 +09:00 |
|
eblade
|
8e5396295d
|
some silly cleanup
|
2009-03-16 20:52:50 -04:00 |
|
sqlcoder
|
e469202b66
|
Merge branch 'master' of git://git.assembla.com/fpdboz
|
2008-12-28 09:50:33 +00:00 |
|
Worros
|
2d700820f4
|
Add Everleaf to DB init process
Should these come from config on startup...?
|
2008-12-19 16:58:24 +09:00 |
|
sqlcoder
|
f9a805f5cd
|
add do_commit(config) method to fpdb_db.py to make creating
a db connection easier. Used this in guiplayerstats.py to
create a separate connection and added commit to stop
locks here blocking hand imports.
|
2008-12-17 23:03:17 +00:00 |
|
sqlcoder
|
26506b3421
|
use new routine in fpdb_simple to create indexes
|
2008-12-14 02:42:07 +00:00 |
|
sqlcoder
|
71a587faca
|
mods to use insert_id() instead of repeated selects and get postgres working
|
2008-12-09 00:29:39 +00:00 |
|
sqlcoder
|
4dc15bfd94
|
pulled and merged from fpdboz
|
2008-12-07 23:38:33 +00:00 |
|
sqlcoder
|
ec01f7ae40
|
move code closer to carl's repo
|
2008-12-07 17:23:38 +00:00 |
|
Mika Bostrom
|
dfb8a06686
|
Allow to connect to local PostgreSQL via domain socket
|
2008-12-06 15:07:37 +02:00 |
|
Mika Bostrom
|
7ecfac5437
|
Retab/whitespace demangle fpdb_db.py
|
2008-12-06 14:40:04 +02:00 |
|
Mika Bostrom
|
3eb1a1dd0b
|
Start to clean up psycopg2.connect() and surroundings
|
2008-12-06 13:41:39 +02:00 |
|
Worros
|
1f7f3f7187
|
Fix MySQL 'ADD INDEX' syntax, add functions to create_tables
|
2008-12-03 18:18:20 +09:00 |
|
sqlcoder
|
a824814c0a
|
sqlcoder initial updates
|
2008-12-02 00:15:50 +00:00 |
|
Worros
|
2b9eed8958
|
Change db access function to always get the latest committed transactions.
Fixes graph updating, so i made the label a bit prettier, and a bit better behaved.
|
2008-11-07 18:12:48 +13:00 |
|
Ray
|
174b7ecfa0
|
permission changes only
Please enter the commit message for your changes.
|
2008-10-28 09:37:11 -04:00 |
|
Ray
|
1e7b584dba
|
changes to allow dropping of tables on postgres
|
2008-10-07 19:56:01 -04:00 |
|
Worros
|
6aca36b564
|
Moved SHOW TABLES query to query dict as list_tables
Added failing tests for Postgres until table deletion and table listing is fixed.
|
2008-10-08 03:12:38 +08:00 |
|
Worros
|
5dd9dbc86f
|
Fix residual bugs in table droping and creation
Add Regression test for recreating_tables in mysql
|
2008-10-08 02:28:18 +08:00 |
|
Worros
|
dc81ca854a
|
Indentation fixes
|
2008-10-08 01:50:43 +08:00 |
|
Worros
|
3d43e8167c
|
Make drop_tables generic for mysql so we dont end up with a function that has 20 if(dbversion ==) statements within
|
2008-10-08 01:41:06 +08:00 |
|
Worros
|
3018cc660b
|
Move create tables code into its own function.
Remove Postgres specific code
|
2008-10-08 01:16:26 +08:00 |
|
Carl Gherardi
|
791ac7418d
|
Converts fpdb_db to use the query dictionary for table creation
|
2008-10-07 17:33:37 +08:00 |
|