From 7c774e1356257bd64273760740f2464f2d6661fb Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 09 Jan 2007 20:20:30 +0000
Subject: [PATCH] Update the schema backend to provide full support for online schema updates. which includes the following:

---
 opends/src/server/org/opends/server/messages/CoreMessages.java |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/messages/CoreMessages.java b/opends/src/server/org/opends/server/messages/CoreMessages.java
index 8d29a84..cdf526f 100644
--- a/opends/src/server/org/opends/server/messages/CoreMessages.java
+++ b/opends/src/server/org/opends/server/messages/CoreMessages.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Portions Copyright 2006 Sun Microsystems, Inc.
+ *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
  */
 package org.opends.server.messages;
 
@@ -6057,6 +6057,16 @@
        CATEGORY_MASK_CORE | SEVERITY_MASK_SEVERE_WARNING | 578;
 
 
+  /**
+   * The message ID for the message that will be used if a circular reference is
+   * detected when attempting to rebuild schema element dependencies.  This
+   * takes a single argument, which is the definition string for the schema
+   * element that triggered the circular reference error.
+   */
+  public static final int MSGID_SCHEMA_CIRCULAR_DEPENDENCY_REFERENCE =
+       CATEGORY_MASK_CORE | SEVERITY_MASK_MILD_ERROR | 579;
+
+
 
   /**
    * Associates a set of generic messages with the message IDs defined
@@ -6751,6 +6761,11 @@
                     "Unable to register name form %s with the server schema " +
                     "because its name %s conflicts with the name for an " +
                     "existing name form %s.");
+    registerMessage(MSGID_SCHEMA_CIRCULAR_DEPENDENCY_REFERENCE,
+                    "Unable to update the schema element with definition " +
+                    "\"%s\" because a circular reference was identified " +
+                    "when attempting to rebuild other schema elements " +
+                    "dependent upon it.");
 
 
     registerMessage(MSGID_ADD_OP_INVALID_SYNTAX,

--
Gitblit v1.10.0