mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
Extract some of #3360 fixes to 10.11.x
That PR uncovered countless issues on `my_snprintf` uses. This commit backports a squashed subset of their fixes. (Excludes previous parts #3485 and #3493)
This commit is contained in:
@@ -283,7 +283,7 @@ void get_dynamic(DYNAMIC_ARRAY *array, void *element, size_t idx)
|
||||
{
|
||||
if (idx >= array->elements)
|
||||
{
|
||||
DBUG_PRINT("warning",("To big array idx: %d, array size is %d",
|
||||
DBUG_PRINT("warning",("To big array idx: %zu, array size is %zu",
|
||||
idx,array->elements));
|
||||
bzero(element,array->size_of_element);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user