From 9faedad3e5c1c919c8fd0d721d9fff19ef452fd3 Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Tue, 26 Aug 2003 18:57:09 +0000 Subject: [PATCH] Context CSN updates for hdb --- servers/slapd/back-bdb/proto-bdb.h | 3 +++ servers/slapd/back-hdb/Makefile.in | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/servers/slapd/back-bdb/proto-bdb.h b/servers/slapd/back-bdb/proto-bdb.h index e8141f7dfe..a61522506a 100644 --- a/servers/slapd/back-bdb/proto-bdb.h +++ b/servers/slapd/back-bdb/proto-bdb.h @@ -36,6 +36,8 @@ void bdb_attr_index_destroy LDAP_P(( Avlnode *tree )); /* * ctxcsn.c */ +#define bdb_csn_commit BDB_SYMBOL(csn_commit) + int bdb_csn_commit LDAP_P(( Operation *op, SlapReply *rs, DB_TXN *tid, EntryInfo *ei, EntryInfo **suffix_ei, Entry **ctxcsn_e, int *ctxcsn_added, u_int32_t locker )); @@ -561,6 +563,7 @@ bdb_send_ldap_intermediate( /* * trans.c */ +#define bdb_trans_backoff BDB_SYMBOL(trans_backoff) void bdb_trans_backoff( int num_retries ); diff --git a/servers/slapd/back-hdb/Makefile.in b/servers/slapd/back-hdb/Makefile.in index 2d81067a78..5119229a59 100644 --- a/servers/slapd/back-hdb/Makefile.in +++ b/servers/slapd/back-hdb/Makefile.in @@ -6,14 +6,14 @@ XXDIR = $(srcdir)/../back-bdb XXSRCS = init.c tools.c config.c \ add.c bind.c compare.c delete.c modify.c modrdn.c search.c \ extended.c passwd.c referral.c operational.c \ - attr.c index.c key.c dbcache.c filterindex.c \ - dn2entry.c dn2id.c error.c id2entry.c idl.c nextid.c cache.c + attr.c index.c key.c dbcache.c filterindex.c trans.c \ + dn2entry.c dn2id.c error.c id2entry.c idl.c nextid.c cache.c ctxcsn.c SRCS = $(XXSRCS) OBJS = init.lo tools.lo config.lo \ add.lo bind.lo compare.lo delete.lo modify.lo modrdn.lo search.lo \ extended.lo passwd.lo referral.lo operational.lo \ - attr.lo index.lo key.lo dbcache.lo filterindex.lo \ - dn2entry.lo dn2id.lo error.lo id2entry.lo idl.lo nextid.lo cache.lo + attr.lo index.lo key.lo dbcache.lo filterindex.lo trans.lo \ + dn2entry.lo dn2id.lo error.lo id2entry.lo idl.lo nextid.lo cache.lo ctxcsn.lo LDAP_INCDIR= ../../../include LDAP_LIBDIR= ../../../libraries -- 2.39.5