Hi,

apr_dbd_sqlite3.c:dbd_sqlite3_get_name() in the trunk crashes when
res->next_row is NULL.  The patch below fixes the problem.

Keisuke

--- apr_dbd_sqlite3.c   (revision 423374)
+++ apr_dbd_sqlite3.c   (working copy)
@@ -191,7 +191,7 @@
        return NULL;
    }

-    return res->next_row->columns[n]->name;
+    return res->col_names[n];
}

static int dbd_sqlite3_get_row(apr_pool_t *pool, apr_dbd_results_t *res,

Reply via email to