1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +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

@@ -158,7 +158,7 @@ void Rdb_key_def::setup(const TABLE *const tbl,
key_info = &tbl->key_info[m_keyno];
if (!hidden_pk_exists)
pk_info = &tbl->key_info[tbl->s->primary_key];
m_name = std::string(key_info->name);
m_name = std::string(key_info->name.str);
} else {
m_name = HIDDEN_PK_NAME;
}