diff options
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 13b2659789d..fce35bff2f5 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -6255,6 +6255,11 @@ struct SORT_FIELD_ATTR { uint length; /* Length of sort field */ uint suffix_length; /* Length suffix (0-4) */ + /* Max. length of the original value, in bytes */ + uint original_length; + + uint pack_sort_string(uchar *to, const LEX_CSTRING &str, + CHARSET_INFO *cs) const; }; |