Begin forwarded message:
From: [EMAIL PROTECTED] (Mail Delivery System)
Date: 12 October 2008 23:16:54 BDT
To: [EMAIL PROTECTED]
Subject: Undelivered Mail Returned to Sender
This is the Postfix program at host munin.local.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The Postfix program
<[email protected]>: host mx1.us.apache.org[140.211.11.136] said: 550
http://www.spamhaus.org/query/bl?ip=86.7.234.71 (in reply to
RCPT TO
command)
Reporting-MTA: dns; munin.local
X-Postfix-Queue-ID: 788B8267FBD
X-Postfix-Sender: rfc822; [EMAIL PROTECTED]
Arrival-Date: Sun, 12 Oct 2008 23:16:52 +0100 (BST)
Final-Recipient: rfc822; [email protected]
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; host mx1.us.apache.org[140.211.11.136]
said: 550
http://www.spamhaus.org/query/bl?ip=86.7.234.71 (in reply to
RCPT TO
command)
From: Nick Kew <[EMAIL PROTECTED]>
Date: 12 October 2008 23:16:51 BDT
To: [email protected]
Subject: Re: apr_dbd_prepare() corrupts arguments on failure
On 12 Oct 2008, at 18:58, Dave Ingram wrote:
This all appears to work fine if the statement is valid. If there
is a problem (e.g. a syntax error in the SQL) then apr_dbd_prepare
() seems to destroy its driver and handle arguments, as shown by
the fprintf() output:
Use the ap_* methods to get diagnostics. Not stdio.
What happens if you compile with -O0?
Just to check: you are doing all this in a command function, so
it'll run between
pre_config and post_config?
--
Nick Kew