From 050356ecead5172a1c57ff54e9f6cff99c9cb2b9 Mon Sep 17 00:00:00 2001
From: abobrov <abobrov@localhost>
Date: Thu, 13 Sep 2007 21:25:08 +0000
Subject: [PATCH] - rearrange default compressed schema initialization to take place after the server schema is initialized.
---
opends/src/server/org/opends/server/core/DirectoryServer.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/DirectoryServer.java b/opends/src/server/org/opends/server/core/DirectoryServer.java
index a0267d7..77c74f3 100644
--- a/opends/src/server/org/opends/server/core/DirectoryServer.java
+++ b/opends/src/server/org/opends/server/core/DirectoryServer.java
@@ -1201,7 +1201,6 @@
throw new InitializationException(message);
}
- compressedSchema = new DefaultCompressedSchema();
}
@@ -2327,6 +2326,8 @@
schemaConfigManager.initializeAttributeSyntaxes();
schemaConfigManager.initializeSchemaFromFiles();
+ // With server schema in place set compressed schema.
+ compressedSchema = new DefaultCompressedSchema();
// At this point we have a problem, because none of the configuration is
// usable because it was all read before we had a schema (and therefore all
--
Gitblit v1.10.0