469,360 Members | 1,749 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,360 developers. It's quick & easy.

ZMySQLDA/MySQLdb: DON'T fix like this for Zope 2.7.0!

Michal Kurowski wrote:
transactional = self.db.server_capabilities & CLIENT.TRANSACTIONS

to:

transactional = CLIENT.TRANSACTIONS
This is NOT a good fix. All you're doing is ignoring the server's capabilities,
so if the server supports transactions and the client doesn't, or vice versa,
you end up in a mess.

I have a patch which I'm testing and will post soon.
db.py file from ZmySQLDA is requirement for python 2.3.3 based
zope to work.
I think the idea is that you're supposed to use mysql-python 0.9.3b2 with Python
2.3, but there's no Windows binary for that.
Can anyone explain to me why "_mysql" (instead of "MySQLdb") is used
here in the first place ?

Andy Dustman recommends against it for years now.


Well, ZMySQLDA is Andy's code, so perhaps he could comment? ;-)

Chris

--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
Jul 18 '05 #1
0 1025

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Don Rivard | last post: by
reply views Thread by Dave Harrison | last post: by
1 post views Thread by Peter Nikolaidis | last post: by
2 posts views Thread by m0226065 | last post: by
reply views Thread by Wesley Kincaid | last post: by
1 post views Thread by Steve | last post: by
13 posts views Thread by Derick van Niekerk | last post: by
1 post views Thread by Yi Xing | last post: by
reply views Thread by Steve Holden | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.