in reply to dbix::simple & varbinary(MAX)
Credit goes to Fumiaki Yoshimatsu for solving the problem a couple years ago (I found the solution on Google) - not sure why it's not in the mainline DBD::ODBC code, but it works well enough for my applications, so I'm not complaining.(root@ravyn 16:40:05)# diff dbdimp.c ~root/dbdimp.new.c 1897d1896 < case SQL_VARBINARY: 1933a1933,1940 > case SQL_VARBINARY: > fbh->ftype = SQL_C_BINARY; > case SQL_VARCHAR: > case SQL_WVARCHAR: > if (fbh->ColDef == 0) { > fbh->ColDisplaySize = DBIc_LongReadLen(imp_sth); > } > break;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: dbix::simple & varbinary(MAX)
by mje (Curate) on Aug 01, 2008 at 14:33 UTC | |
by Anonymous Monk on Aug 27, 2008 at 02:30 UTC | |
by mje (Curate) on Sep 12, 2008 at 14:20 UTC |