[Zope] MySQL timestamp issue

Andy Dustman farcepest at gmail.com
Fri Jun 3 18:17:09 EDT 2005


On 6/3/05, Hugo Ramos <ramosh at gmail.com> wrote:
> Yellow,
> 
> I wrote the wrong version.
> I'm using MySQL 4.0.24 + Zope 276 + mysql-python 1.0.0 + ZMySQLDA 2.0.9b3

Take a look at ZMySQLDA/db.py:

http://cvs.sourceforge.net/viewcvs.py/mysql-python/ZMySQLDA/lib/python/Products/ZMySQLDA/db.py?rev=1.21&view=auto

You may need to add a line like this to the DB class:

    conv[FIELD_TYPE.TIMESTAMP] = _mysql_timestamp_converter

Not sure why this is missing.

-- 
Computer interfaces should never be made of meat.
http://www.terrybisson.com/meat.html


More information about the Zope mailing list