1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Changed KEY names to use LEX_CSTRING

This commit is contained in:
Michael Widenius
2017-06-18 12:28:40 +03:00
committed by Sergei Golubchik
parent 874e4e473a
commit cc77f9882d
31 changed files with 180 additions and 162 deletions

View File

@ -1319,8 +1319,8 @@ public:
void set_index_prefix_key_fields(KEY *index_info)
{
set_full_table_name();
const char *index_name= index_info->name;
index_name_field->store(index_name, strlen(index_name),
const char *index_name= index_info->name.str;
index_name_field->store(index_name, index_info->name.length,
system_charset_info);
table_key_info= index_info;
}