mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.4 into 10.5
This commit is contained in:
@ -348,7 +348,8 @@ static char *debug_sync_bmove_len(char *to, char *to_end,
|
||||
DBUG_ASSERT(to_end);
|
||||
DBUG_ASSERT(!length || from);
|
||||
set_if_smaller(length, (size_t) (to_end - to));
|
||||
memcpy(to, from, length);
|
||||
if (length)
|
||||
memcpy(to, from, length);
|
||||
return (to + length);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user