[libdbi-users] dbi_result_get_string_idx fails on VARCHAR COLLATE 'binary'

2010-01-16 Thread Markus Hoenicka
Vikram Noel Ambrose writes: > When I invoke dbi_result_get_string_idx on a column declared > "VARCHAR(256) COLLATE 'binary'", libdbi complains that: "The requested > variable type does not match what libdbi thinks it should be". > > I then tried using _get_binary_idx, but that seems to caus

Re: [libdbi-users] dbi_result_get_string_idx fails on VARCHAR COLLATE 'binary'

2010-01-16 Thread Vikram Noel Ambrose
Markus Hoenicka wrote: > Vikram Noel Ambrose writes: > > When I invoke dbi_result_get_string_idx on a column declared > > "VARCHAR(256) COLLATE 'binary'", libdbi complains that: "The requested > > variable type does not match what libdbi thinks it should be". > > > > I then tried using _get

Re: [libdbi-users] dbi_result_get_string_idx fails on VARCHAR COLLATE 'binary'

2010-01-16 Thread Markus Hoenicka
Vikram Noel Ambrose writes: > Either mysql is telling libdbi that the field is binary or libdbi is > getting confused somewhere. > Could you please insert a call to dbi_result_get_field_type_idx() to see what mysql thinks this is? regards, Markus -- Markus Hoenicka http://www.mhoenicka.de