Skip to content

Commit

Permalink
Extent the applicability of indexes to files that have record length …
Browse files Browse the repository at this point in the history
…fields.
  • Loading branch information
yruslan committed Apr 22, 2024
1 parent 9115d8b commit 880b567
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class VarLenNestedReader[T: ClassTag](copybookContents: Seq[String],

override def getRecordSize: Int = cobolSchema.copybook.getRecordSize

override def isIndexGenerationNeeded: Boolean = (readerProperties.lengthFieldExpression.isEmpty || readerProperties.isRecordSequence) && readerProperties.isIndexGenerationNeeded
override def isIndexGenerationNeeded: Boolean = readerProperties.isIndexGenerationNeeded

override def isRdwBigEndian: Boolean = readerProperties.isRdwBigEndian

Expand Down

0 comments on commit 880b567

Please sign in to comment.