Init buffer in constructor

This commit is contained in:
zhang2014 2020-09-15 22:59:21 +08:00
parent 9c329996ff
commit 30352f096d

View File

@ -12,6 +12,7 @@ namespace ErrorCodes
MySQLBinlogEventReadBuffer::MySQLBinlogEventReadBuffer(ReadBuffer & in_)
: ReadBuffer(nullptr, 0, 0), in(in_)
{
nextIfAtEnd();
}
bool MySQLBinlogEventReadBuffer::nextImpl()