mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 04:02:04 -04:00
4573. [func] Query logic has been substantially refactored (e.g. query_find function has been split into smaller functions) for improved readability, maintainability
This commit is contained in:
parent
7fcd72f574
commit
96912e44b0
5 changed files with 4684 additions and 3884 deletions
5
CHANGES
5
CHANGES
|
|
@ -1,3 +1,8 @@
|
|||
4573. [func] Query logic has been substantially refactored (e.g.
|
||||
query_find function has been split into smaller
|
||||
functions) for improved readability, maintainability
|
||||
and testability. [RT #43929]
|
||||
|
||||
4572. [func] The "dnstap-output" option can now take "size" and
|
||||
"versions" parameters to indicate the maximum size
|
||||
a dnstap log file can grow before rolling to a new
|
||||
|
|
|
|||
8551
bin/named/query.c
8551
bin/named/query.c
File diff suppressed because it is too large
Load diff
|
|
@ -128,6 +128,13 @@
|
|||
|
||||
<section xml:id="relnotes_features"><info><title>New Features</title></info>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
Query logic has been substantially refactored (e.g. query_find
|
||||
function has been split into smaller functions) for improved
|
||||
readability, maintainability and testability. [RT #43929]
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<command>dnstap</command> logfiles can now be configured to
|
||||
|
|
|
|||
|
|
@ -81,9 +81,10 @@
|
|||
#define ISC_R_UNSET 61 /*%< unset */
|
||||
#define ISC_R_MULTIPLE 62 /*%< multiple */
|
||||
#define ISC_R_WOULDBLOCK 63 /*%< would block */
|
||||
#define ISC_R_COMPLETE 64 /*%< complete */
|
||||
|
||||
/*% Not a result code: the number of results. */
|
||||
#define ISC_R_NRESULTS 64
|
||||
#define ISC_R_NRESULTS 65
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ static const char *description[ISC_R_NRESULTS] = {
|
|||
"unset", /*%< 61 */
|
||||
"multiple", /*%< 62 */
|
||||
"would block", /*%< 63 */
|
||||
"complete", /*%< 64 */
|
||||
};
|
||||
|
||||
static const char *identifier[ISC_R_NRESULTS] = {
|
||||
|
|
@ -163,6 +164,7 @@ static const char *identifier[ISC_R_NRESULTS] = {
|
|||
"ISC_R_UNSET",
|
||||
"ISC_R_MULTIPLE",
|
||||
"ISC_R_WOULDBLOCK",
|
||||
"ISC_R_COMPLETE",
|
||||
};
|
||||
|
||||
#define ISC_RESULT_RESULTSET 2
|
||||
|
|
|
|||
Loading…
Reference in a new issue