diff options
author | Konstantin Osipov <kostja@sun.com> | 2009-10-22 12:46:07 +0400 |
---|---|---|
committer | Konstantin Osipov <kostja@sun.com> | 2009-10-22 12:46:07 +0400 |
commit | 11f8ddc7b31486951f9351e74469f4f4b20247fd (patch) | |
tree | a95283cd66786801d4ce585e3240e9280e2fd10c /include | |
parent | d4632dff5aea3eacfe3c6a126c6b8ca9c839b5ec (diff) | |
parent | d18a9e5f542b1fd5a279f3c226e9cda064c87b96 (diff) | |
download | mariadb-git-11f8ddc7b31486951f9351e74469f4f4b20247fd.tar.gz |
Merge with next-mr-runtime.
Diffstat (limited to 'include')
-rw-r--r-- | include/my_base.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/my_base.h b/include/my_base.h index a01b2ec9b82..70bd9b5e073 100644 --- a/include/my_base.h +++ b/include/my_base.h @@ -255,7 +255,17 @@ enum ha_base_keytype { HA_BINARY_PACK_KEY | HA_FULLTEXT | HA_UNIQUE_CHECK | \ HA_SPATIAL | HA_NULL_ARE_EQUAL | HA_GENERATED_KEY) -#define HA_KEY_HAS_PART_KEY_SEG 65536 /* Key contains partial segments */ +/* + Key contains partial segments. + + This flag is internal to the MySQL server by design. It is not supposed + neither to be saved in FRM-files, nor to be passed to storage engines. + It is intended to pass information into internal static sort_keys(KEY *, + KEY *) function. + + This flag can be calculated -- it's based on key lengths comparison. +*/ +#define HA_KEY_HAS_PART_KEY_SEG 65536 /* Automatic bits in key-flag */ |