[Zope] about the leakage in Shared.DC.ZRDB.Results.Results

Tres Seaver tseaver at palladion.com
Mon Jul 4 11:28:49 EDT 2011


-----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 at 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-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zsql-no_aliases.patch
Type: text/x-patch
Size: 1195 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20110704/c5993329/attachment.bin 


More information about the Zope mailing list