ha_innodb.cc:

  Revert a change to dict_mem_index_add_field which slipped prematurely into the bk tree
parent c2e5f484
...@@ -3070,8 +3070,7 @@ create_index( ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment