mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix a typo bug in SimpleBuffer.read()
This commit is contained in:
@ -356,7 +356,7 @@ void SimpleBuffer::setup_reading(uchar **data1, size_t len1,
|
||||
|
||||
bool SimpleBuffer::read()
|
||||
{
|
||||
if (!have_data(read_size1 + read_ptr2? read_size2 : 0))
|
||||
if (!have_data(read_size1 + (read_ptr2? read_size2 : 0)))
|
||||
return TRUE;
|
||||
*read_ptr1 =read(read_size1);
|
||||
if (read_ptr2)
|
||||
|
Reference in New Issue
Block a user