ha_innodb.cc:
Revert a change to dict_mem_index_add_field which slipped prematurely into the bk tree sql/ha_innodb.cc: Revert a change to dict_mem_index_add_field which slipped prematurely into the bk tree
This commit is contained in:
parent
6d4ed16787
commit
d3d86c127a
@ -3070,8 +3070,7 @@ create_index(
|
|||||||
/* We assume all fields should be sorted in ascending
|
/* We assume all fields should be sorted in ascending
|
||||||
order, hence the '0': */
|
order, hence the '0': */
|
||||||
dict_mem_index_add_field(index,
|
dict_mem_index_add_field(index,
|
||||||
(char*) key_part->field->field_name,
|
(char*) key_part->field->field_name, 0);
|
||||||
0, prefix_len);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
error = row_create_index_for_mysql(index, trx);
|
error = row_create_index_for_mysql(index, trx);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user