Lines Matching defs:query
48 const char *query;
70 ret->query = (add->query == NULL) ? base->query : add->query;
77 const char *query)
94 dbd_prepare(cmd->server, query, label);
104 (void*)APR_OFFSETOF(authz_dbd_cfg, query), ACCESS_CONF,
105 "SQL query for DBD Authz or login"),
108 "SQL query to get per-user redirect URL after login"),
120 apr_dbd_prepared_t *query;
124 if (cfg->query == NULL) {
126 "No query configured for %s!", action);
129 query = apr_hash_get(dbd->prepared, cfg->query, APR_HASH_KEY_STRING);
130 if (query == NULL) {
137 query, r->user, NULL);
148 "authz_dbd: query for %s failed; user %s [%s]",
158 query = apr_hash_get(dbd->prepared, cfg->redir_query,
160 if (query == NULL) {
162 "authz_dbd: no redirect query!");
166 &res, query, 0, r->user, NULL)) == 0) {
204 apr_dbd_prepared_t *query;
209 if (cfg->query == NULL) {
211 "No query configured for dbd-group!");
214 query = apr_hash_get(dbd->prepared, cfg->query, APR_HASH_KEY_STRING);
215 if (query == NULL) {
217 "Error retrieving query for dbd-group!");
221 query, 0, r->user, NULL);
233 "authz_dbd in get_row; group query for user=%s [%s]",
242 "authz_dbd, in groups query for %s [%s]",