diff options
author | unknown <ram@mysql.r18.ru> | 2002-10-03 17:26:05 +0500 |
---|---|---|
committer | unknown <ram@mysql.r18.ru> | 2002-10-03 17:26:05 +0500 |
commit | c9c47144dc0c674a458a2f359333038265577621 (patch) | |
tree | d60b7606a57b44cf2582b20c8e568e2eaaa021ed /sql/ha_heap.cc | |
parent | 0d82e49fe1a2603912e703d4516ba6b465390f84 (diff) | |
parent | 1d418629753f58a5a12f8c202383d0195b128ae6 (diff) | |
download | mariadb-git-c9c47144dc0c674a458a2f359333038265577621.tar.gz |
Merge mysql.r18.ru:/usr/home/ram/mysql-4.1.last
into mysql.r18.ru:/usr/home/ram/mysql-4.1
BitKeeper/etc/logging_ok:
auto-union
sql/ha_heap.cc:
Auto merged
Diffstat (limited to 'sql/ha_heap.cc')
-rw-r--r-- | sql/ha_heap.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sql/ha_heap.cc b/sql/ha_heap.cc index 271f00428a5..5c314462666 100644 --- a/sql/ha_heap.cc +++ b/sql/ha_heap.cc @@ -246,11 +246,7 @@ int ha_heap::create(const char *name, TABLE *table, int error; for (key= parts= 0; key < table->keys; key++) - { parts+= table->key_info[key].key_parts; - if (table->key_info[key].algorithm == HA_KEY_ALG_BTREE) - parts++; /* additional HA_KEYTYPE_END keyseg */ - } if (!(keydef= (HP_KEYDEF*) my_malloc(table->keys * sizeof(HP_KEYDEF) + parts * sizeof(HA_KEYSEG), @@ -301,15 +297,6 @@ int ha_heap::create(const char *name, TABLE *table, seg->null_pos= 0; } } - if (pos->algorithm == HA_KEY_ALG_BTREE) - { - /* additional HA_KEYTYPE_END keyseg */ - seg->type= HA_KEYTYPE_END; - seg->length= sizeof(byte*); - seg->flag= 0; - seg->null_bit= 0; - seg++; - } } mem_per_row+= MY_ALIGN(table->reclength + 1, sizeof(char*)); max_rows = (ulong) (current_thd->variables.max_heap_table_size / |