Re: Segfault doing SQL select

2009-12-01 Thread Micah Yoder
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 func

Re: Segfault doing SQL select

2009-12-01 Thread Sorin Manolache
On Tue, Dec 1, 2009 at 09:26, Micah Yoder wrote: > Hello, > > I'm new to this. Just read most of Nick Kew's book and am trying to write a > module that is a thin-as-possible layer between an AJAX type rich client web > app and an SQL database. I then hope to build a small CMS on top of that. > > C

Re: Segfault doing SQL select

2009-12-01 Thread Jerome Renard
Hello, On Tue, Dec 1, 2009 at 9:26 AM, Micah Yoder wrote: [...] > Am I doing anything obviously wrong? Or can someone point to a simple > handler module that does a SELECT? (mod_auth_dbd appears to use a different > method and introduces other complexities.) Maybe the piece of code available her