summaryrefslogtreecommitdiff
path: root/storage/spider/spd_sys_table.cc
diff options
context:
space:
mode:
authorKentoku SHIBA <kentokushiba@gmail.com>2013-08-24 18:37:49 +0900
committerKentoku SHIBA <kentokushiba@gmail.com>2013-08-24 18:37:49 +0900
commit38c9476513822e98794f7f414e4805afb01f714e (patch)
tree358d59574576d407abeb02290e2b1633a54978e3 /storage/spider/spd_sys_table.cc
parent48ed7f10e203b15c2961fa71d832359e0c226ce7 (diff)
downloadmariadb-git-38c9476513822e98794f7f414e4805afb01f714e.tar.gz
Change for mearging MariaDB 10.0.4.
Diffstat (limited to 'storage/spider/spd_sys_table.cc')
-rw-r--r--storage/spider/spd_sys_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/spider/spd_sys_table.cc b/storage/spider/spd_sys_table.cc
index 74419461081..24fa5ff6faa 100644
--- a/storage/spider/spd_sys_table.cc
+++ b/storage/spider/spd_sys_table.cc
@@ -377,7 +377,7 @@ int spider_get_sys_table_by_idx(
if ((error_num = spider_sys_index_init(table, idx, FALSE)))
DBUG_RETURN(error_num);
- if ((int) key_info->key_parts == col_count)
+ if ((int) spider_user_defined_key_parts(key_info) == col_count)
{
key_length = key_info->key_length;
} else {