File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -316,8 +316,7 @@ bool EnsureInitializeAndReadData(bool endOfFile)
316
316
317
317
if ( _parser != null && _charsParseStart < _charsDataEnd )
318
318
{
319
- // + 1 - must be room for one more col always
320
- if ( ( _parsingRowColEndsOrInfosStartIndex + _parsingRowColCount + 1 ) >= ( GetColInfosLength ( ) - _parser . PaddingLength - ColEndsOrInfosExtraEndCount ) )
319
+ if ( ( _parsingRowColEndsOrInfosStartIndex + _parsingRowColCount + ColEndsOrInfosExtraEndCount ) >= ( GetColInfosLength ( ) - _parser . PaddingLength ) )
321
320
{
322
321
DoubleColInfosCapacityCopyState ( ) ;
323
322
}
@@ -326,8 +325,7 @@ bool EnsureInitializeAndReadData(bool endOfFile)
326
325
{
327
326
if ( nothingLeftToRead )
328
327
{
329
- // + 1 - must be room for one more col always
330
- if ( ( _parsingRowColEndsOrInfosStartIndex + _parsingRowColCount + 1 ) >= ( GetColInfosLength ( ) - ColEndsOrInfosExtraEndCount ) )
328
+ if ( ( _parsingRowColEndsOrInfosStartIndex + _parsingRowColCount + ColEndsOrInfosExtraEndCount ) >= ( GetColInfosLength ( ) - ColEndsOrInfosExtraEndCount ) )
331
329
{
332
330
DoubleColInfosCapacityCopyState ( ) ;
333
331
}
You can’t perform that action at this time.
0 commit comments