1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Extract some of #3360 fixes to 10.5.x

That PR uncovered countless issues on `my_snprintf` uses.
This commit backports a squashed subset of their fixes.
This commit is contained in:
ParadoxV5
2024-11-14 17:42:43 -07:00
committed by Daniel Black
parent b414eca98d
commit cf2d49ddcf
24 changed files with 102 additions and 101 deletions

View File

@@ -693,7 +693,7 @@ namespace mrn {
"data: <%.*s>",
normalized_length,
UINT_MAX16,
field->field_name,
field->field_name.str,
blob_data_length, blob_data);
memcpy(grn_key, normalized, blob_data_length);
new_blob_data_length = blob_data_length;