I had this problem in the past and hacked the mysql DA to fix it, then dicovered to my dismay I was using an out-of-date mysqlDA and it had already been fixed... Which DA are you using?
Message: 1 Date: Sat, 10 Feb 2001 16:30:19 -0800 (PST) From: francine broekhove <francine@burningmail.com> To: zope-dev@zope.org Reply-To: francine@burningmail.com Subject: [Zope-dev] LONGing for normal integers ...
Hi everyone,
i've updated my Zope (finaly) and my Python and my Linux (have been bussy). But, trying to fire up my 'old' applications in Zope, >mostly connected to MySQL databases, i get an annoying 'L' behind every integer.
All my indexes are integers. I could rewrite all my dtml to include _.int(integer) or something, but that seems completely stupid. >Isn't there a more 'central' way to solve this. F.i. should i adapt some python types? Does anyone know what is wrong and how to >fix this?
[Jon Franz] | I had this problem in the past and hacked the mysql DA to fix it, then | dicovered to my dismay I was using an out-of-date mysqlDA and it had already | been fixed... Which DA are you using? Using Python 2.0 could solve this problem, as longs are no longer rendered with the L suffix. HTH. -Morten
On 12 Feb 2001, Morten W. Petersen wrote:
[Jon Franz]
| I had this problem in the past and hacked the mysql DA to fix it, then | dicovered to my dismay I was using an out-of-date mysqlDA and it had already | been fixed... Which DA are you using?
Using Python 2.0 could solve this problem, as longs are no longer rendered with the L suffix.
That's my preferred solution, but also see: http://www.zope.org/Members/adustman/Tips/no_el -- Andy Dustman PGP: 0xC72F3F1D @ .net http://dustman.net/andy "Normally with carbonara you use eggs, but I used lobster brains instead." -- Masahiko Kobe (Iron Chef Italian): 30-year-old Giant Lobster Battle
participants (3)
-
Andy Dustman -
Jon Franz -
morten@esol.no