Lines Matching defs:query
140 static void ap_dbd_sql_init(server_rec *s, const char *query)
155 if (query) {
157 *arr_item = query;
254 static const char *dbd_prepare(cmd_parms *cmd, void *dconf, const char *query,
258 label = query;
259 query = "";
262 ap_dbd_prepare(cmd->server, query, label);
267 static const char *dbd_init_sql(cmd_parms *cmd, void *dconf, const char *query)
269 if (!query || *query == '\n') {
273 ap_dbd_sql_init(cmd->server, query);
313 DBD_DECLARE_NONSTD(void) ap_dbd_prepare(server_rec *s, const char *query,
329 && strcmp(query, "")) {
334 apr_hash_set(svr->cfg->queries, label, APR_HASH_KEY_STRING, query);
338 const char *label, *query;
385 const char *label, *query;
388 apr_hash_this(hi, (void*) &label, NULL, (void*) &query);
397 add_query->query = query;
399 else if (strcmp(query, group_query)) {
413 APR_HASH_KEY_STRING, add_query->query);
443 const char *label, *query;
446 apr_hash_this(hi, (void*) &label, NULL, (void*) &query);
448 if (!strcmp(query, "")) {
453 if (apr_dbd_prepare(rec->driver, pool, rec->handle, query,