Fix tiny issue

This commit is contained in:
Alexey Milovidov 2021-07-12 03:24:38 +03:00
parent 8f1d7e67ca
commit e0effad4d1

View File

@ -181,6 +181,7 @@ void ReadBufferFromFileDescriptor::rewind()
/// Clearing the buffer with existing data. New data will be read on subsequent call to 'next'.
working_buffer.resize(0);
pos = working_buffer.begin();
file_offset_of_buffer_end = 0;
}