mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
fixed a win32 compile warning
This commit is contained in:
parent
6ddec9a50b
commit
9870864a88
1 changed files with 2 additions and 1 deletions
|
@ -641,7 +641,8 @@ bool Protocol::send_fields(List<Item> *list, uint flags)
|
|||
field.length / item->collation.collation->mbminlen :
|
||||
field.length / item->collation.collation->mbmaxlen;
|
||||
max_length*= thd_charset->mbmaxlen;
|
||||
field_length= (max_length > UINT_MAX32) ? UINT_MAX32 : max_length;
|
||||
field_length= (max_length > UINT_MAX32) ?
|
||||
UINT_MAX32 : (unit32) max_length;
|
||||
int4store(pos + 2, field_length);
|
||||
}
|
||||
pos[6]= field.type;
|
||||
|
|
Loading…
Reference in a new issue