From d3d86c127a0740a7f44255d138c75e42195a47c0 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 5 Jun 2003 16:06:38 +0300 Subject: [PATCH] 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 --- sql/ha_innodb.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc index 9cc86edddf8..fd030fff091 100644 --- a/sql/ha_innodb.cc +++ b/sql/ha_innodb.cc @@ -3070,8 +3070,7 @@ create_index( /* We assume all fields should be sorted in ascending order, hence the '0': */ dict_mem_index_add_field(index, - (char*) key_part->field->field_name, - 0, prefix_len); + (char*) key_part->field->field_name, 0); } error = row_create_index_for_mysql(index, trx);