summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2004-10-05 19:22:13 +0300
committerunknown <heikki@hundin.mysql.fi>2004-10-05 19:22:13 +0300
commitd55cf826e850ef824ef73713daf010a8e60a9ee5 (patch)
tree99e9d5c38c0288cd53697553cc4c3b5a7f96f3ac
parent8f7417c69db413638092ea5006047b289b4c7557 (diff)
downloadmariadb-git-d55cf826e850ef824ef73713daf010a8e60a9ee5.tar.gz
dict0mem.h:
Fix typos in previous push innobase/include/dict0mem.h: Fix typos in previous push
-rw-r--r--innobase/include/dict0mem.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/innobase/include/dict0mem.h b/innobase/include/dict0mem.h
index 2564fcfb97a..944fad1a8c8 100644
--- a/innobase/include/dict0mem.h
+++ b/innobase/include/dict0mem.h
@@ -152,8 +152,8 @@ struct dict_col_struct{
};
/* DICT_MAX_COL_PREFIX_LEN is measured in bytes. Starting from 4.1.6, we
-define max col prefix len as 3 * 256, so that one can create a column prefix
-index on 256 characters of a TEXT field also in the UTF-8 charset. In that
+set max col prefix len to < 3 * 256, so that one can create a column prefix
+index on 255 characters of a TEXT field also in the UTF-8 charset. In that
charset, a character may take at most 3 bytes. */
#define DICT_MAX_COL_PREFIX_LEN 768
@@ -169,9 +169,8 @@ struct dict_field_struct{
type, e.g., INDEX (textcol(25));
must be smaller than
DICT_MAX_COL_PREFIX_LEN; NOTE that
- in the UTF-8 charset, MySQL reserves
- sets this to 3 * the prefix len in
- UTF-8 chars */
+ in the UTF-8 charset, MySQL sets this
+ to 3 * the prefix len in UTF-8 chars */
};
/* Data structure for an index tree */