summaryrefslogtreecommitdiff
path: root/plugin/handler_socket
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2017-06-18 12:28:40 +0300
committerSergei Golubchik <serg@mariadb.org>2017-08-24 01:05:53 +0200
commitcc77f9882dcaa4e02196bb3847cd66f2943eb4c6 (patch)
treee394e188978a41d0c4eca65aafe917310315c9e1 /plugin/handler_socket
parent874e4e473acc7087fc8e375e9de2b5d1e846b7e9 (diff)
downloadmariadb-git-cc77f9882dcaa4e02196bb3847cd66f2943eb4c6.tar.gz
Changed KEY names to use LEX_CSTRING
Diffstat (limited to 'plugin/handler_socket')
-rw-r--r--plugin/handler_socket/handlersocket/database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/handler_socket/handlersocket/database.cpp b/plugin/handler_socket/handlersocket/database.cpp
index 0761c1bc09d..b21d58d243b 100644
--- a/plugin/handler_socket/handlersocket/database.cpp
+++ b/plugin/handler_socket/handlersocket/database.cpp
@@ -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;
}