#At file:///mnt/raid/alik/MySQL/bzr/backporting/mysql-next-mr-runtime/ based on
revid:alik@stripped
2931 Alexander Nozdrin 2009-10-16
Backporting revision from 6.0:
revno: 2617.56.25
committer: Alexander Nozdrin <alik@stripped>
branch nick: azalea-bugfixing
timestamp: Thu 2009-07-09 20:30:43 +0400
message:
Add a comment in the source (Bug#40358).
modified:
include/my_base.h
=== modified file 'include/my_base.h'
--- a/include/my_base.h 2009-07-24 06:45:06 +0000
+++ b/include/my_base.h 2009-10-16 15:21:54 +0000
@@ -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 */
Attachment: [text/bzr-bundle] bzr/alik@sun.com-20091016152154-j54yavfy9b8g4k14.bundle
| Thread |
|---|
| • bzr commit into mysql-5.5.0-next-mr-runtime branch (alik:2931)Bug#40358 | Alexander Nozdrin | 16 Oct 2009 |