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:
wpk 2017-02-08 22:15:01 +01:00
parent 7fcd72f574
commit 96912e44b0
5 changed files with 4684 additions and 3884 deletions

View file

@ -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

File diff suppressed because it is too large Load diff

View file

@ -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

View file

@ -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

View file

@ -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