#250643 changed varchar to text to improve mysql 4 compatibility #178194 fixed summary truncate function, thanks to yhager for patch