mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
item_cmpfunc.cc, field.cc, sql_insert.cc, sql_class.h, sql_yacc.yy:
Post merge fix.
This commit is contained in:
@@ -6426,8 +6426,8 @@ uint Field_string::get_key_image(uchar *buff, uint length, imagetype type_arg)
|
||||
length / field_charset->mbmaxlen);
|
||||
memcpy(buff, ptr, bytes);
|
||||
if (bytes < length)
|
||||
field_charset->cset->fill(field_charset, buff + bytes, length - bytes,
|
||||
field_charset->pad_char);
|
||||
field_charset->cset->fill(field_charset, (char*) buff + bytes,
|
||||
length - bytes, field_charset->pad_char);
|
||||
return bytes;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user