You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Fix early EOF for file reading
Bad 'if' statement caused an EOF to trigger on the first buffer fill for regular file reading.
This commit is contained in:
@ -514,7 +514,7 @@ int TableInfo::readTableData( )
|
||||
fCurrentReadBuffer = (fCurrentReadBuffer + 1) % fReadBufCount;
|
||||
|
||||
// bufferCount++;
|
||||
if ( (fHandle && feof(fHandle)) || (fS3ReadLength == fS3ParseLength) )
|
||||
if ( (fHandle && feof(fHandle)) || (fReadFromS3 && (fS3ReadLength == fS3ParseLength)) )
|
||||
{
|
||||
timeval readFinished;
|
||||
gettimeofday(&readFinished, NULL);
|
||||
|
Reference in New Issue
Block a user