[Codestriker-user] DBD::ODBC::st fetchrow_array failed
Brought to you by:
sits
|
From: Moisei R. <mo...@gm...> - 2006-07-25 10:42:15
|
Hi, just in case it is interesting to somebody. Today I faced following error when launched codestriker topic-list: DBD::ODBC::st fetchrow_array failed: [Microsoft][ODBC SQL Server Driver]String data, right truncation (SQL-01004)(DBD: st_fetch/SQLFetch (long truncated DBI attribute LongTruncOk not set and/or LongReadLen too small) err=-1) at ......../codestriker/bin/../lib/Codestriker/Model/Topic.pm line 260. After some review, I've found that LongReadLen is hardcoded to 1024000 in Database.pm line 64. After I increased this value x10 time (to 10240000) - I did not expire this error anymore. I did not do any more investigations, since this solution works well for me, however I am just wondered whether it is good enough. -- Best Regards, Moisei |