From 8466db8c12700bbab0835f5f1bfa71762e34ba4d Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 31 Aug 2007 17:55:26 +0000
Subject: [PATCH] Add support into the JE backend that can be used to store its compact schema encoding data in the database itself, and re-enable compact encoding by default in the configuration. By storing the compact schema encoding data in the database (a separate copy for each backend), we have eliminated the potential problems in backup/restore and binary copy initialization if there are dependencies on an external schematokens.dat file.
---
opends/src/server/org/opends/server/backends/jeb/ID2Entry.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/backends/jeb/ID2Entry.java b/opends/src/server/org/opends/server/backends/jeb/ID2Entry.java
index 237c0f3..c438db7 100644
--- a/opends/src/server/org/opends/server/backends/jeb/ID2Entry.java
+++ b/opends/src/server/org/opends/server/backends/jeb/ID2Entry.java
@@ -242,7 +242,8 @@
case JebFormat.FORMAT_VERSION :
try
{
- entry = JebFormat.entryFromDatabase(entryBytes);
+ entry = JebFormat.entryFromDatabase(entryBytes,
+ entryContainer.getRootContainer().getCompressedSchema());
}
catch (Exception e)
{
--
Gitblit v1.10.0