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:
committed by
Sergei Golubchik
parent
874e4e473a
commit
cc77f9882d
@ -1047,7 +1047,7 @@ dbcontext::cmd_open(dbcallback_i& cb, const cmd_open_args& arg)
|
||||
TABLE *const table = table_vec[tblnum].table;
|
||||
for (uint i = 0; i < table->s->keys; ++i) {
|
||||
KEY& kinfo = table->key_info[i];
|
||||
if (strcmp(kinfo.name, idx_name_to_open) == 0) {
|
||||
if (strcmp(kinfo.name.str, idx_name_to_open) == 0) {
|
||||
idxnum = i;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user