mirror of
https://github.com/MariaDB/server.git
synced 2026-05-17 20:37:12 +02:00
Merge 10.4 into 10.5
This commit is contained in:
commit
80ed136e6d
163 changed files with 8186 additions and 3347 deletions
|
|
@ -675,7 +675,8 @@ namespace mrn {
|
|||
&normalized, &normalized_length, NULL);
|
||||
uint16 new_blob_data_length;
|
||||
if (normalized_length <= UINT_MAX16) {
|
||||
memcpy(grn_key, normalized, normalized_length);
|
||||
if (normalized_length)
|
||||
memcpy(grn_key, normalized, normalized_length);
|
||||
if (normalized_length < *mysql_key_size) {
|
||||
memset(grn_key + normalized_length,
|
||||
'\0', *mysql_key_size - normalized_length);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue