Re: NumberFormatException on initializePropsFromServer

Mark Matthews <[email protected]> Tue, 02 Oct 2007 17:36:45 -0500
Newsgroups gmane.comp.db.mysql.java
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

maydox wrote:
> 
> 
>> Madox,
>>
>> Interesting. I've _never_ seen the server return "" for those variables,
>> and it's not ever supposed to return "" for those variables, which is why
>> there's no defensive code around that. I suppose the driver could "punt"
>> when it runs into this situation, but I smell a memory overwrite condition
>> somwehere in the server.
>>
>> Is this issue reproducible?
>>
>>    -Mark
>>
> 
> Hello Mark thank you for the reply.  No unfortunately we have not been able
> to reproduce this.  The DB is being upgraded from 4 to 5 so we may not see
> this issue again.  I have not seen this issue reported anywhere else but it
> may not be a bad idea anyway to put some "defense" around the code that
> retrieves those variables? 
> 
> Regards,
> Maydox

Hi Maydox,

See http://lists.mysql.com/commits/34790 and
http://lists.mysql.com/commits/34791

This fix will end up in 5.0.8, and 5.1.4.

	-Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHAsf9tvXNTca6JD8RApBnAKCiv+vzanxPZwLhzmy1x4YxYX1rAACeN9xl
Y7NYVV/E9UKb/Fxxbf+7B7I=
=Z38m
-----END PGP SIGNATURE-----

-- 
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe:    http://lists.mysql.com/[email protected]