mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
17.01.2012 1df1118b98afa29b61a8830b74eebd2e7866a95a
Fix OPENDJ-469 - LDIFReader has code duplication and suffer from poor performance with highly multi-valued attributes.
Previous commit demonstrates an issue with the LDIFImportConfig, the validateSchema flag was not set in constructor.
1 files modified
3 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/types/LDIFImportConfig.java 3 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/LDIFImportConfig.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 *      Portions Copyright 2012 ForgeRock AS
 */
package org.opends.server.types;
@@ -274,6 +275,7 @@
    invokeImportPlugins    = false;
    isCompressed           = false;
    isEncrypted            = false;
    validateSchema         = true;
    reader                 = null;
    rejectWriter           = null;
    skipWriter             = null;
@@ -310,6 +312,7 @@
    invokeImportPlugins    = false;
    isCompressed           = false;
    isEncrypted            = false;
    validateSchema         = true;
    reader                 = getBufferedReader(ldifInputReader);
    rejectWriter           = null;
    skipWriter             = null;