Commit Graph
43 Commits
Author SHA1 Message Date
Mark Andrews 84de948c9a update copyright notice 2006-12-07 23:57:56 +00:00
Mark Andrews 6f2339756e 2111. [bug] Fix a number of errors reported by Coverity.
[RT #16507]
2006-12-07 04:52:58 +00:00
Mark Andrews 6afc42a614 1691. [bug] sdb's attachversion was not complete. [RT #11990] 2004-07-22 04:04:41 +00:00
Mark Andrews 44f939c72b silence punned error messages 2004-04-15 01:38:09 +00:00
Mark Andrews 9e4db62a34 update copyrights 2004-03-09 06:12:49 +00:00
Mark Andrews 05f0c72f38 1580. [bug] Zone destuction on final detach takes a long time.
[RT #3746]

1579.   [bug]           Multiple task managers could not be created.
2004-03-04 06:56:28 +00:00
Mark Andrews 48cfc9344f update_copyrights 2003-10-09 07:32:57 +00:00
Mark Andrews c3f1de023b 1505. [bug] Uninitaliased rdataset is sdb. [RT #8750] 2003-09-17 05:55:45 +00:00
Andreas Gustafsson 389677e152 removed empty line 2001-06-28 21:34:54 +00:00
Brian Wellington 571688b02f Revert part of the ISC_MAGIC/ISC_MAGIC_VALID change. Because
common.impmagic is not the first four bytes of the struct,
ISC_MAGIC_VALID() cannot be used.
2001-06-06 22:03:58 +00:00
David Lawrence 92ef1a9b9d use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land 2001-06-04 19:33:39 +00:00
Brian Wellington e2fd12f3a0 841. [bug] When sdb modules were not declared threadsafe, their
create and destroy functions were not serialized.
2001-05-29 18:34:24 +00:00
Brian Wellington de32cbd34e remove a cut-and-paste-o 2001-05-02 19:25:19 +00:00
Brian Wellington d2aebe24c4 Allocate the initial buffer for rdata based on the length of the string, to
avoid reallocations and annoying messages.
2001-05-02 18:58:56 +00:00
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