Commit Graph
29 Commits
Author SHA1 Message Date
Brian Wellington c302b021cc the sdb returned the wrong answer when querying for dnames below other dnames
and ANY queries at delegation points.
2001-03-17 02:52:29 +00:00
Brian Wellington a012d6dbfb 746. [bug] The sdb didn't clone rdatasets properly, causing
a crash when the server followed delegations. [RT #905]
2001-02-20 23:20:44 +00:00
Andreas Gustafsson d156c10aee removed extra empty line 2001-02-14 00:29:16 +00:00
Brian Wellington f24c135e09 738. [bug] If a non-threadsafe sdb driver supported AXFR and
received an AXFR request, it would deadlock or die
                        with an assertion failure.
(also some other cleanups)
2001-02-13 20:11:15 +00:00
Brian Wellington b7cd261f2f dns_name_concatenate(foo, NULL, bar, NULL) -> dns_name_copy(foo, bar, NULL) 2001-02-05 19:47:05 +00:00
Brian Wellington 499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington 5d85bf183f missing 'static' 2000-12-21 01:58:37 +00:00
Brian Wellington 78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Brian Wellington 23f64ea0dc 594. [func] sdb drivers are now assumed to not be thread-safe
unless the DNS_SDBFLAG_THREADSAFE flag is supplied.
(also make the dirdb.c driver specify DNS_SDBFLAG_THREADSAFE)
2000-12-06 01:08:41 +00:00
Mark Andrews f8abaa0fae Used a unsigned int rather than a boolean to indicate subtrations making
the API more consistant between dns_db_{add,subtract}rdataset(),
dns_rdataslab_{merge,subtract}().

Adjust previous CHANGES to reflect above as this is not yet end user visible.

Add missing CHANGES entry for add/merge.
2000-12-01 01:22:45 +00:00
Andreas Gustafsson 7a6f285bc9 added UNUSED() macros for arguments that end up unused when assertion checking
is turned off
2000-12-01 01:00:47 +00:00
Brian Wellington 6fd4ab217e missing "static" keyword. 2000-11-18 01:35:13 +00:00
Brian Wellington 229ce407c3 Initialize dns_rdata_fromtext callbacks, so that errors aren't logged to
stdout.
2000-11-17 23:32:27 +00:00
Brian Wellington 34f9910283 the removal of "simple" left an off by one error. 2000-11-17 01:27:34 +00:00
Brian Wellington 77ac297199 Database and simple database implementations (except rbt and rbt64) are
registered dynamically.  Simple database drivers no longer use the
keyword "simple" in named.conf - the driver name is sufficient.
2000-11-16 22:33:53 +00:00
Brian Wellington 341629dbc2 sdb should not be sanitized away anymore. 2000-11-16 01:41:02 +00:00
Brian Wellington ebfcb6cf66 550. [func] Support unknown rdata types and classes. 2000-11-09 23:55:05 +00:00
Mark Andrews b55c30f2de 525. [func] New arguement 'exact' for dns_db_subtractrdataset(),
and dns_rdataslab_subtract() requesting that the RR's
                        must exist prior to deletion.  DNS_R_NOTEXACT is
                        returned if the condition is not met.
2000-10-18 23:53:31 +00:00
Brian Wellington f4b4e7c162 #include <string.h> 2000-10-06 21:20:59 +00:00
Brian Wellington 8614264835 protect the simple database stuff with NOMINUM_PUBLIC 2000-09-26 22:45:59 +00:00
Mark Andrews 4a30ede93d add overmem method 2000-08-31 13:04:47 +00:00
Brian Wellington 5e387b9ce6 and more calls to DESTROYLOCK 2000-08-26 01:37:00 +00:00
Brian Wellington 0a45f098e4 Obey the DNS_DBFIND_GLUEOK flag in find(). 2000-08-23 18:45:13 +00:00
Brian Wellington 60b90a37f4 Support for AXFR and minor cleanup. 2000-08-23 18:28:03 +00:00
Brian Wellington 75e1e12f48 use a 'dns_sdbmethods_t' instead of passing all of the functions to
dns_sdb_register as parameters.
2000-08-22 22:06:46 +00:00
Andreas Gustafsson 8a63ecd933 silenced compiled warning about a potentially uninitialized
variable; INSIST that the variable is indeed initialized
2000-08-22 17:32:07 +00:00
Andreas Gustafsson acec8ad69d CVS Id was duplicated; removed an empty line 2000-08-22 01:27:27 +00:00
Brian Wellington a4c351fcef Add a flags field to dns_sdb_register. One flag requests that names passed in
be relative, and another specifies that rdata strings will contain relative
names.
2000-08-22 00:53:31 +00:00
Brian Wellington 033ba09d6d Simple database implementation. This includes a wrapper that makes a simple
database look like a dns_db_t, and a set of routines to be called by specific
simple databases.
2000-08-21 22:15:28 +00:00