Mailing List Archive

about the leakage in Shared.DC.ZRDB.Results.Results
Regarding the leakage in Shared.DC.ZRDB.Results.Results mentioned in:

https://mail.zope.org/pipermail/zope/2011-January/176106.html

which might very well be the leakage introduced in 2.10 that made ZSQL
methods useless, what are the chances of being solved?

I see that Tres Seaver made a new package, SQL Adaptor (not useful to
me) because of this bug. Is it an indication the bug is too hard to fix?

Fernando
_______________________________________________
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )
Re: about the leakage in Shared.DC.ZRDB.Results.Results [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/03/2011 12:54 PM, Fernando Martins wrote:
> Regarding the leakage in Shared.DC.ZRDB.Results.Results mentioned
> in:
>
> https://mail.zope.org/pipermail/zope/2011-January/176106.html
>
> which might very well be the leakage introduced in 2.10 that made
> ZSQL methods useless, what are the chances of being solved?
>
> I see that Tres Seaver made a new package, SQL Adaptor (not useful to
> me) because of this bug. Is it an indication the bug is too hard to
> fix?

The leakage occurs due to a feature ("caseless" column aliases) which
would break backward compatibiltiy if removed. If you can live without
that feature (your app already uses the column names spelled the same
way as the RDBMS returns them, or you can change it to do so), you
should be able to apply the attached patch to remove the leaking feature.



Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver@palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4R3DEACgkQ+gerLs4ltQ4gjQCglmXM907m+ysUeVyUnOHo0+sO
jUgAoJ7VWMc8XCmTQgzZ9nL8OxbZJkAO
=QTY8
-----END PGP SIGNATURE-----