Since I've not announced this yet, and DBD::Sybase required some changes[1]
for it I figure I should "announce" it here to give you all a chance to
check your drivers with it.
file: $CPAN/authors/id/T/TI/TIMB/DBI-1.45.tar.gz
size: 369502 bytes
md5: 31ac7c8aea0ebc61c3a9fc120a770fbd
Early next week I'll either announce this one or release and announce
a (minor) update.
Tim.
[1] The change in get_fbav is unlikely to affect your driver unless it
changes the number of columns in the statement handle - as DBD::Sybase
and DBD::ODBC do when handling multiple result sets.
dbih_get_fbav(imp_sth_t *imp_sth)
{
AV *av;
if ( (av = DBIc_FIELDS_AV(imp_sth)) == Nullav)
av = dbih_setup_fbav(imp_sth);
+ if (1) { /* XXX turn into option later */
+ int i = DBIc_NUM_FIELDS(imp_sth);
+ /* don't let SvUTF8 flag persist from one row to the next */
+ /* (only affects drivers that use sv_setpv, but most XS do) */
+ while(i--) /* field 1 stored at index 0 */
+ SvUTF8_off(AvARRAY(av)[i]);
+ }
...
return av;
}