[Zope] Zope [Funny Longs]

Chris Withers chrisw@nipltd.com
Tue, 11 Apr 2000 13:44:36 +0100


We've experienced this as well, but we never got to the bottom of this.
We've also had other similar, but different; problems with the MySQL-Zope interface that vary from
platform to platform.

Any ideas as to what's going on here would be gratefully received...

Chris



"Morten W. Petersen" wrote:
> 
> I was wondering if you have any knowledge of Zope returning longs
> instead of integers on for example:
> 
>         <dtml-in "some_MySQL_ZSQL_Thing()">
>                 <dtml-var id>
>         </dtml-in>
> 
> Which will produce something like
> 
>         1L
>         2L
>         3L
> 
> instead of
> 
>         1
>         2
>         3
> 
> This happens using exactly the same ZMySQL adapter on different
> locations, the location "out of order" is
> running GNU/Debian 2.2 Frozen (i386) with Zope 2.1.4 on top, and the
> "right one" is running RedHat 6.0 (i386)
> with Zope 2.1.4 on top.
> 
> Could this be a MySQL misfeature?
> 
> Regards,
> 
>         Morten W. Petersen
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )