Lines Matching defs:query
271 * string is not available). The type of query we want to run
272 * is indicated by the query flag, and the dbdata object is passed
276 * The function will construct the query and obtain an available
277 * database instance (DBI). It will then run the query and hopefully
286 const char *client, unsigned int query,
327 "%d Got DBI - checking query", dlz_thread_num);
336 /* what type of query are we going to run? */
337 switch(query) {
340 * if the query was not passed in from the config file
369 "No query specified for findzone. "
370 "Findzone requires a query");
380 "No query specified for lookup. "
381 "Lookup requires a query");
392 "Incorrect query flag passed to "
402 "%d checked query", dlz_thread_num);
470 * what type of query are we going to run?
471 * this time we build the actual query to run.
473 switch(query) {
495 "Incorrect query flag passed to "
505 "%d built query", dlz_thread_num);
518 "%d query is '%s'", dlz_thread_num, querystring);
522 * output the full query string during debug so we can see
523 * what lame error the query has.
529 /* attempt query up to 3 times. */
535 "%d executing query for %d time",
622 /* release query string */
780 /* run the query and get the result set from the database. */
790 "result set for findzone query");
825 * have an allow zone xfr query.
827 * Run our query, and get a result set from the database.
841 "result set for allow xfr query");
860 * query.
879 /* run the query and get the result set from the database. */
892 "result set for all nodes query");
903 "returned by all nodes query");
992 /* run the query and get the result set from the database. */
1005 "result set for authority query");
1026 /* run the query and get the result set from the database. */
1035 "return result set for lookup query");
1049 * passed into all query functions.