httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Micah Yoder <mi...@yoderdev.com>
Subject Re: Segfault doing SQL select
Date Tue, 01 Dec 2009 10:02:51 GMT
Sorin Manolache wrote:
>> void sql_template(ap_dbd_t *con, request_rec *r, apr_hash_t *formdata) {
>>  apr_dbd_results_t *res;
>>     
>
>
> Set res to NULL before passing it.
>
>   
>>  apr_dbd_row_t *row;
>>     
>
>
> Set row to NULL before passing it.
>
>   
that was it. Thanks so much!

Guess I thought that the functions would have ignored and overridden any 
nonsensical values. Oh well.

And thank you too Jerome, I'm sure I will be studying that code.


Mime
View raw message