On 18-Jan-10, at 3:47 AM, Markus Hoenicka wrote:

> Toby Thain <t...@telegraphics.com.au> was heard to say:
>
>> This is probably driver dependent. IMHO the first check would be to
>> see if the unexpected reversion to binary type is occurring within
>> libdbi or in libmysqlclient (or mysqld).
>>
>
> I bet it is. The mysql driver uses some weird check (in
> _translate_mysql_type) to find out whether or not a field is binary.
> Unless I'm dense the code in question may actually cause other
> problems as well,

I have discussed this issue with Vikram on #mysql and IMHO it is  
wrong in concept for a collation change to affect column type: As it  
is not concerning the contents of the field but merely  
interpretation. Naturally he didn't expect to have to change his code.

But then perhaps the driver writer held a different opinion.

> so I'd like to ask everyone with some MySQL
> knowledge to have a look at it.

Sure.

--Toby

> Also, the existing check may be
> version dependent. Vikram, which MySQL version are you running?
>
> regards,
> Markus
>
> -- 
> Markus Hoenicka
> http://www.mhoenicka.de
> AQ score 38
>
>
>
> ---------------------------------------------------------------------- 
> --------
> Throughout its 18-year history, RSA Conference consistently  
> attracts the
> world's best and brightest in the field, creating opportunities for  
> Conference
> attendees to learn about information security's most important  
> issues through
> interactions with peers, luminaries and emerging and established  
> companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> libdbi-users mailing list
> libdbi-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libdbi-users


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users

Reply via email to