On Sat, Sep 3, 2011 at 1:45 PM, Jeroen De Dauw <jeroendedauw(a)gmail.com> wrote:
What's the reason for this line? Why truncate
after 500 chars?
SQL queries can be extremely, extremely long, running to many
kilobytes or even a megabyte plus. Platonides is right that one major
culprit would be saving an article. They can also get really long if
you have big IN lists or other things like that. 500 chars might be
overly conservative, though.