summaryrefslogtreecommitdiff
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
commit0f6caa98119045f5452d0b7c28a476f12d56ceb9 (patch)
tree6b41a344385ce6b64453b223ddaa657c2bae87a0
parent1572d2dcca303f23ac2c96a96b9c32578e50bab3 (diff)
downloadmariadb-git-0f6caa98119045f5452d0b7c28a476f12d56ceb9.tar.gz
fixed a typo
-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;