Lines Matching defs:query

262  * string is not available).  The type of query we want to run
263 * is indicated by the query flag, and the dbdata object is passed
267 * The function will construct the query and obtain an available
268 * database instance (DBI). It will then run the query and hopefully
277 const char *client, unsigned int query,
320 "%d Got DBI - checking query", dlz_thread_num);
329 /* what type of query are we going to run? */
330 switch(query) {
333 * if the query was not passed in from the config file
362 "No query specified for findzone. "
363 "Findzone requires a query");
373 "No query specified for lookup. "
374 "Lookup requires a query");
385 "Incorrect query flag passed to "
395 "%d checked query", dlz_thread_num);
463 * what type of query are we going to run?
464 * this time we build the actual query to run.
466 switch(query) {
488 "Incorrect query flag passed to "
498 "%d built query", dlz_thread_num);
511 "%d query is '%s'", dlz_thread_num, querystring);
515 * output the full query string during debug so we can see
516 * what lame error the query has.
522 /* attempt query up to 3 times. */
528 "%d executing query for %d time",
616 /* release query string */
779 /* run the query and get the result set from the database. */
789 "result set for findzone query");
824 * have an allow zone xfr query.
826 * Run our query, and get a result set from the database.
840 "result set for allow xfr query");
859 * query.
878 /* run the query and get the result set from the database. */
891 "result set for all nodes query");
902 "returned by all nodes query");
991 /* run the query and get the result set from the database. */
1004 "result set for authority query");
1028 /* run the query and get the result set from the database. */
1037 "return result set for lookup query");
1051 * passed into all query functions.