#986: MySQL database support
----------------------------+-----------------------------------------------
Reporter: anonymous | Owner: jonas
Type: enhancement | Status: reopened
Priority: high | Milestone: 0.10
Component: general | Version: devel
Severity: major | Resolution:
Keywords: database mysql |
----------------------------+-----------------------------------------------
Comment (by Andres Salomon <[EMAIL PROTECTED]>):
trac-mysql-r2944.patch includes trac-sqlcolfix-r2944.2.patch. Aside from
including sqlcolfix, the following is changed from Jeff's original
patches:
- drop stuff already merge in trunk
- only import MySQLdb module if calling the MySQLConnector ctor
- use consistent variable names between MySQLConnector and
MySQLConnection
- use MySQLdb's insert_id() instead of doing another select (which is
racy; if two inserts happen at around the same time, one of the SELECTs
would've returned the wrong id)
- more concise session purging code
- default to port 3306
- strip / from path as the other db backends do
I still intend to see if I can clean up the to_sql() index creation stuff
a bit..
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/986>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets