diff options
Diffstat (limited to 'innobase/include/dict0dict.h')
-rw-r--r-- | innobase/include/dict0dict.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/innobase/include/dict0dict.h b/innobase/include/dict0dict.h index a1a1ebdfe08..4dbbd5b4886 100644 --- a/innobase/include/dict0dict.h +++ b/innobase/include/dict0dict.h @@ -604,8 +604,10 @@ dict_index_contains_col_or_prefix( dict_index_t* index, /* in: index */ ulint n); /* in: column number */ /************************************************************************ -Looks for a matching field in an index. The column and the prefix len has -to be the same. */ +Looks for a matching field in an index. The column has to be the same. The +column in index must be complete, or must contain a prefix longer than the +column in index2. That is, we must be able to construct the prefix in index2 +from the prefix in index. */ ulint dict_index_get_nth_field_pos( |