Hi Moisei,

Thanks for the message.  I've never had this problem before over many 
years, with some very large topics... do you have some really large 
topics in your database?

Anyway, it might be worth increasing this value as you have done to 
avoid this in the future.  I'll commit this into CVS for the 1.9.2 release.

Cheers,
David

Moisei Rabinovich wrote:
> 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 <http://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
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Codestriker-user mailing list
> Codestriker-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/codestriker-user


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Codestriker-user mailing list
Codestriker-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/codestriker-user

Reply via email to