Some additional info:
This all appears to work fine if the statement is valid.
Actually, it turns out that apr_dbd_prepare() is destroying its arguments no matter whether it succeeds or not. What's going on? Does anyone have any handy examples of how to use the DBD code?


D