summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorunknown <evgen@moonbone.local>2006-07-22 05:52:37 +0400
committerunknown <evgen@moonbone.local>2006-07-22 05:52:37 +0400
commit5a3a1c98a42fbb045303f766f53bfdd033ed795c (patch)
tree8123e5fd2aa1bf05cd12149d1920f8a3955acc4f /sql/field.h
parentf171d628c7d7f44cd6786f6456a5e35a3b5d8c0f (diff)
downloadmariadb-git-5a3a1c98a42fbb045303f766f53bfdd033ed795c.tar.gz
field.h:
Fixed typo. sql/field.h: Fixed typo.
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h
index 0bbcd1099a0..d89d8bb3965 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -1141,7 +1141,7 @@ public:
packlength= 4;
if (set_packlength)
{
- uint32 char_lengt= len_arg/cs->mbmaxlen;
+ uint32 char_length= len_arg/cs->mbmaxlen;
packlength= char_length <= 255 ? 1 :
char_length <= 65535 ? 2 :
char_length <= 16777215 ? 3 : 4;