[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Fedora-directory-commits] ldapserver/ldap/servers/slapd slap.h, 1.33, 1.34 backend.c, 1.7, 1.8



Author: nhosoi

Update of /cvs/dirsec/ldapserver/ldap/servers/slapd
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22618

Modified Files:
	slap.h backend.c 
Log Message:
Resolves: #436837 (comment #9)
Summary: Dynamically reload schema via task interface



Index: slap.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/slap.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- slap.h	4 Jun 2008 22:22:55 -0000	1.33
+++ slap.h	6 Jun 2008 17:53:35 -0000	1.34
@@ -776,8 +776,8 @@
 			IFP	plg_un_db_register_oc_callback; /* Register a function to call when a operation is applied to a given ObjectClass */
 			IFP	plg_un_db_init_instance;  /* initializes new db instance */
 			IFP	plg_un_db_wire_import;    /* fast replica update */
-			IFP	plg_un_db_add_schema;     /* add schema */
 			IFP	plg_un_db_verify;	      /* verify db files */
+			IFP	plg_un_db_add_schema;     /* add schema */
 		} plg_un_db;
 #define plg_bind		plg_un.plg_un_db.plg_un_db_bind
 #define plg_unbind		plg_un.plg_un_db.plg_un_db_unbind


Index: backend.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/backend.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- backend.c	4 Jun 2008 22:22:55 -0000	1.7
+++ backend.c	6 Jun 2008 17:53:35 -0000	1.8
@@ -169,7 +169,7 @@
 int
 be_isdeleted( const Slapi_Backend *be )
 {
-	return BE_STATE_DELETED == be->be_state;
+	return ((be == NULL) || (BE_STATE_DELETED == be->be_state));
 }
 
 void 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]