1
0
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:
ParadoxV5
2024-09-13 17:59:47 -06:00
committed by Daniel Black
parent c72221e2f8
commit 687377633d
12 changed files with 19 additions and 19 deletions

View File

@@ -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;