diff options
author | Michael Widenius <monty@askmonty.org> | 2013-05-21 22:00:08 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2013-05-21 22:00:08 +0300 |
commit | 3143ad589a24ac7581e2195ba0dc13576cb3c9da (patch) | |
tree | 9c02baa18cdca6f60d80e2f7ee7f3f792c293ab9 /sql/sql_partition.cc | |
parent | 068c61978e3a81836d52b8caf11e044290159ad1 (diff) | |
download | mariadb-git-3143ad589a24ac7581e2195ba0dc13576cb3c9da.tar.gz |
Push a lot of small fixes to get larger parts to compile
Diffstat (limited to 'sql/sql_partition.cc')
-rw-r--r-- | sql/sql_partition.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc index b8aa4c7e944..f5f72fcdd9c 100644 --- a/sql/sql_partition.cc +++ b/sql/sql_partition.cc @@ -739,7 +739,7 @@ end: static void clear_indicator_in_key_fields(KEY *key_info) { KEY_PART_INFO *key_part; - uint key_parts= key_info->key_parts, i; + uint key_parts= key_info->user_defined_key_parts, i; for (i= 0, key_part=key_info->key_part; i < key_parts; i++, key_part++) key_part->field->flags&= (~GET_FIXED_FIELDS_FLAG); } @@ -759,7 +759,7 @@ static void clear_indicator_in_key_fields(KEY *key_info) static void set_indicator_in_key_fields(KEY *key_info) { KEY_PART_INFO *key_part; - uint key_parts= key_info->key_parts, i; + uint key_parts= key_info->user_defined_key_parts, i; for (i= 0, key_part=key_info->key_part; i < key_parts; i++, key_part++) key_part->field->flags|= GET_FIXED_FIELDS_FLAG; } @@ -6941,7 +6941,7 @@ void set_key_field_ptr(KEY *key_info, const uchar *new_buf, const uchar *old_buf) { KEY_PART_INFO *key_part= key_info->key_part; - uint key_parts= key_info->key_parts; + uint key_parts= key_info->user_defined_key_parts; uint i= 0; my_ptrdiff_t diff= (new_buf - old_buf); DBUG_ENTER("set_key_field_ptr"); |