Hi Jerome, Thanks for your answer.
I just went through the sources of apr_dbd and saw that I have to loop through all the rows in a apr_dbd_results_t before mysql_free_result() is called through apr_pool_cleanup_run(). In my code I am sure the result is exactly one, but unfortunately I have to write a loop anyway. Nevertheless, it works now... Cheers, Andrej
