summaryrefslogtreecommitdiff
path: root/sql/protocol.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/protocol.cc')
-rw-r--r--sql/protocol.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc
index a1e349bf30b..261852e44a8 100644
--- a/sql/protocol.cc
+++ b/sql/protocol.cc
@@ -642,7 +642,7 @@ bool Protocol::send_fields(List<Item> *list, uint flags)
field.length / item->collation.collation->mbmaxlen;
max_length*= thd_charset->mbmaxlen;
field_length= (max_length > UINT_MAX32) ?
- UINT_MAX32 : (unit32) max_length;
+ UINT_MAX32 : (uint32) max_length;
int4store(pos + 2, field_length);
}
pos[6]= field.type;