Commit graph

9 commits

Author SHA1 Message Date
Wessie
6f4cadafbb Added a foreign key relationship to the create table statements.
- MySQL will also use the InnoDB engine now.
- Added a ping call in the MySQL Cursor cache mechanism
- Added a rollback call when a MySQLError occurs
- Removed 'delete_orphans' which is not needed anymore due to foreign key constraints and delete on cascade
- Changed SQLDatabase to accept options to create a cursor factory, instead of taking a pre-created cursor factory
2013-12-17 21:55:05 +01:00
Wessie
bed11f3de7 Switched back to MySQLdb for better support of executemany. 2013-12-17 02:00:05 +01:00
Vin
ab2cf9d58b Changed insert_hashes to fit the new data format 2013-12-17 01:57:18 +01:00
Wessie
0bd7219b87 Cleaned up the database driver.
- The SQLDatabase class now uses a context manager for mysql access.
- Most of the error handling is done by the context manager now
- Optimized several methods that returned a list into returning a generator
- Optimized return_matches to use an IN query instead.
- Other small fixes.
2013-12-17 01:39:03 +01:00
Wessie
f918b6b7e0 Added matplotlib to the dependency list
Fixed small typo in dependencies
2013-12-16 17:41:33 +01:00
worldveil
9aa80ff87c added MIT license fixes #5, also fixes #6 2013-12-16 10:28:22 -06:00
worldveil
62cf1f6f89 updated plots and added link to blog description 2013-12-06 11:57:24 -05:00
worldveil
51680735db fixes #1 and fixes #2. also identifies issue with DELETE_ORPHANS sql command 2013-11-29 22:08:25 -05:00
worldveil
90a93bc47b moved to github 2013-11-18 21:51:27 -05:00