Added IfDef for debug mode when reporting truncated mysql data.