summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2007-11-06 21:57:51 +0300
committerunknown <sergefp@mysql.com>2007-11-06 21:57:51 +0300
commit024a7b4dfa035b5b420f6f7520d620b533c731a6 (patch)
tree966f741184fba01b77a910a3542ccae148bf2b80 /sql
parentc02b3c1ae7ce7772261821ac91920ad593ae6917 (diff)
downloadmariadb-git-024a7b4dfa035b5b420f6f7520d620b533c731a6.tar.gz
Better comments
Diffstat (limited to 'sql')
-rw-r--r--sql/opt_range.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h
index dd219129167..4f5cce28bf2 100644
--- a/sql/opt_range.h
+++ b/sql/opt_range.h
@@ -24,9 +24,14 @@
#endif
typedef struct st_key_part {
- uint16 key,part, store_length, length;
+ uint16 key,part;
+ /* See KEY_PART_INFO for meaning of the next two: */
+ uint16 store_length, length;
uint8 null_bit;
- /* Keypart flags (0 if partition pruning is used) */
+ /*
+ Keypart flags (0 when this structure is used by partition pruning code
+ for fake partitioning index description)
+ */
uint8 flag;
Field *field;
Field::imagetype image_type;