Skip to content

Commit 5f1de44

Browse files
Collate export issues were fixed.
1 parent 482e936 commit 5f1de44

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseExport.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ private void exportManualIndexes() throws IOException {
387387
if (i > 0)
388388
writer.append(",");
389389

390-
indexEntry.setLazyLoad(false);
390+
indexEntry.setLazyLoad(false);
391391
final OIndexDefinition indexDefinition = index.getDefinition();
392392

393393
exportEntry.reset();
@@ -482,6 +482,8 @@ private void exportSchema() throws IOException {
482482
writer.writeAttribute(0, false, "min", p.getMin());
483483
if (p.getMax() != null)
484484
writer.writeAttribute(0, false, "max", p.getMax());
485+
if (p.getCollate() != null)
486+
writer.writeAttribute(0, false, "collate", p.getCollate().getName());
485487
if (((OPropertyImpl) p).getCustomInternal() != null)
486488
writer.writeAttribute(0, false, "customFields", ((OPropertyImpl) p).getCustomInternal());
487489
writer.endObject(0, false);

0 commit comments

Comments
 (0)