You are not logged in Log in Join
You are here: Home » Members » mordred » archive » Zope MySQL Database Adapter » Changes » View Document

Log in
Name

Password

 

Changes

ZMySQLDA 1.2.0

Features Added ( [email protected] )

Why _mysql and not MySQLdb?

ZMySQLDA ends up abstracting away the Python DB API interface anyway, so why wrap another wrapper? Plus, by default MySQLdb attempts to do type conversions, which Zope doesn't want at this point.

I made some changes, partially to help Zopistas, to both _mysql and MySQLdb. The main one is removing type_conv as part of _mysql. It now needs to be passed to _mysql.connect() as the conv keyword argument; if it is not present, it uses an empty dictionary (return everything as strings). MySQLdb now owns type_conv, and passes a copy if you don't supply your own converter. Thanks to Thilo Mezger for pointing out that Zope DOES expect numbers to be returned as numbers, so now a minimal type converter dictionary is passed.

  • Added a connectionAdd.dtml file. This file now gives an explanation of the connection string syntax on the Add Connection page. (Thanks to ZOracleDA)

ZMySQLDA 1.1.4

Bugs Fixed ( [email protected] )

  • Fixed a bug that caused Zope to fail on selecting aggregate functions such as select max(number) from table

ZMySQLDA 1.1.3

Bugs Fixed

  • Added some troubleshooting info to README.txt
  • Updated the underlying MySQLmodule sources to 1.4 which fixes some c-level bugs.

ZMySQLDA 1.1.2

Bugs Fixed

  • Not exactly a bug, but I added more sensible defaults for the most common MySQL lib and include directory locations to the distribution's Setup.in file.

ZMySQLDA 1.1.1

Bugs Fixed

  • Fixed a bug that prevented INSERT and other non-result producing queries from working.

ZMySQLDA 1.1.0

Bugs Fixed

  • Moved to using the newer MySQLmodule rather than the older mySQLmodule which appears to no longer be supported.
  • Added module aliases for b/w compatibility with older databases containing AqueductmySQL.DA objects or ZmySQLDA objects.