summaryrefslogtreecommitdiff
path: root/sql/protocol.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-03-09 12:49:18 +0200
committerGeorgi Kodinov <joro@sun.com>2009-03-09 12:49:18 +0200
commit7541fec52d0926888b7d41b86b72319db2755031 (patch)
tree6b41a344385ce6b64453b223ddaa657c2bae87a0 /sql/protocol.cc
parent56ae3bd15536ab220568d43fccfa350dc521b2d9 (diff)
downloadmariadb-git-7541fec52d0926888b7d41b86b72319db2755031.tar.gz
fixed a typo
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;