From 4fe72a4bef946169b0f50bc05bd9dc3b4b1131d3 Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Fri, 14 Aug 2009 12:37:19 +0000
Subject: [PATCH] Support for External change log compatible with draft-good-ldap-changelog-04.txt , March 2003

---
 opends/src/server/org/opends/server/replication/protocol/StartECLSessionMsg.java |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/protocol/StartECLSessionMsg.java b/opends/src/server/org/opends/server/replication/protocol/StartECLSessionMsg.java
index b0bedc8..16f3603 100644
--- a/opends/src/server/org/opends/server/replication/protocol/StartECLSessionMsg.java
+++ b/opends/src/server/org/opends/server/replication/protocol/StartECLSessionMsg.java
@@ -101,7 +101,7 @@
   private ChangeNumber changeNumber;
 
   // Specifies whether the search is persistent and changesOnly
-  private short  isPersistent;
+  private short  isPersistent = NON_PERSISTENT;
 
   // A string helping debuging and tracing the client operation related when
   // processing, on the RS side, a request on the ECL.
@@ -203,7 +203,14 @@
    */
   public StartECLSessionMsg()
   {
+    eclRequestType = REQUEST_TYPE_FROM_COOKIE;
+    crossDomainServerState = "";
+    firstDraftChangeNumber = -1;
+    lastDraftChangeNumber = -1;
     changeNumber = new ChangeNumber((short)0,0,(short)0);
+    isPersistent = NON_PERSISTENT;
+    operationId = "-1";
+    excludedServiceIDs = new ArrayList<String>();
   }
 
   /**

--
Gitblit v1.10.0