in reply to Re^5: length() returns wrong result - suspicious magicin thread length() returns wrong result - suspicious magic
I found the missing SvSETMAGIC call in DBD::ODBC, added it and all works now. Thanks ikegami.