Hello Aigner,

Friday, October 3, 2003, 6:34:13 PM, you wrote:

> Hello,

> First, I want to apologize in advance if this should be the wrong list for
> this. Please just point me to the correct list in this case.

> As noted in the documentation of the function trigger_error
> (http://www.php.net/trigger_error), an error message is limited to 1024
> characters. It gets truncated if it is longer.

> In the PHP web application i currently develop, this can sometimes be pretty
> annoying, because i use trigger_error to report error messages i get when
> executing SQL queries to a custom error handler that mails me all those
> errors. This error message sometimes contain SQL statements that are far
> longer than 1024 characters. They get truncated, and i can not see the real
> reason of the error then.

> The patch i attached increases this limit by continually increasing the
> buffer that should hold the error message, until the error message does not
> fill up the entire buffer any more.

> The patch is against 4.3.4RC1, but should still seemlessly apply to the 4.3
> branch in CVS.

This is fixed for HEAD already and i don't think we should backport the
solution to the 4.3 tree.

-- 
Best regards,
 Marcus                            mailto:[EMAIL PROTECTED]

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to