1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +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

@@ -829,7 +829,7 @@ static int unlock_lock_and_free_resource(WT_THD *thd, WT_RESOURCE *rc)
if (rc->owners.elements || rc->waiter_count)
{
DBUG_PRINT("wt", ("nothing to do, %u owners, %u waiters",
DBUG_PRINT("wt", ("nothing to do, %zu owners, %u waiters",
rc->owners.elements, rc->waiter_count));
rc_unlock(rc);
DBUG_RETURN(0);
@@ -1142,4 +1142,3 @@ void wt_thd_release(WT_THD *thd, const WT_RESOURCE_ID *resid)
reset_dynamic(&thd->my_resources);
DBUG_VOID_RETURN;
}