(based on comments from Chris Darroch).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345128
13f79535-47bb-0310-9956-
ffa450edef68
{
svr_cfg *svr = (svr_cfg*) apr_pcalloc(p, sizeof(svr_cfg));
svr->persist = -1;
+ svr->name = svr->params = ""; /* don't risk segfault on misconfiguration */
#if APR_HAS_THREADS
svr->nmin = DEFAULT_NMIN;
svr->nkeep = DEFAULT_NKEEP;
*/
AP_DECLARE(ap_dbd_t*) ap_dbd_cacquire(conn_rec*);
-/* Prepare a statement for use by a client module */
+/* Prepare a statement for use by a client module during
+ * the server startup/configuration phase. Can't be called
+ * after the server has created its children (use apr_dbd_*).
+ */
AP_DECLARE(void) ap_dbd_prepare(server_rec*, const char*, const char*);
/* Also export them as optional functions for modules that prefer it */