mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Merge 10.3 into 10.4
This commit is contained in:
commit
533a13af06
96 changed files with 3166 additions and 827 deletions
|
|
@ -538,8 +538,11 @@ static inline int my_b_write(IO_CACHE *info, const uchar *Buffer, size_t Count)
|
|||
MEM_CHECK_DEFINED(Buffer, Count);
|
||||
if (info->write_pos + Count <= info->write_end)
|
||||
{
|
||||
memcpy(info->write_pos, Buffer, Count);
|
||||
info->write_pos+= Count;
|
||||
if (Count)
|
||||
{
|
||||
memcpy(info->write_pos, Buffer, Count);
|
||||
info->write_pos+= Count;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
return _my_b_write(info, Buffer, Count);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue