1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

fix some conversion warnings

This commit is contained in:
Vladislav Vaintroub
2017-09-28 12:21:16 +00:00
parent 7354dc6773
commit ccf21c9962
9 changed files with 18 additions and 18 deletions

View File

@ -4352,7 +4352,7 @@ static bool prepare_blob_field(THD *thd, Column_definition *sql_field)
sql_field->sql_type == FIELD_TYPE_MEDIUM_BLOB)
{
/* The user has given a length to the blob column */
sql_field->sql_type= get_blob_type_from_length(sql_field->length);
sql_field->sql_type= get_blob_type_from_length((ulong)sql_field->length);
sql_field->pack_length= calc_pack_length(sql_field->sql_type, 0);
}
sql_field->length= 0;