diff options
author | unknown <jimw@mysql.com> | 2005-05-07 01:00:24 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-05-07 01:00:24 -0700 |
commit | e28ddc8d7bf4b35dc4a358b4780fc7d189e357db (patch) | |
tree | bc8889afe473e104201c3a7e6c39c383cd375f23 /sql/ha_heap.cc | |
parent | a3a9677ab240b12fa7cc26e60251e562bd979d81 (diff) | |
parent | 1430a2a44319aa5ca1fa1b4e626fca7cec1243ad (diff) | |
download | mariadb-git-e28ddc8d7bf4b35dc4a358b4780fc7d189e357db.tar.gz |
Merge mysql.com:/home/jimw/my/mysql-4.1-8497
into mysql.com:/home/jimw/my/mysql-4.1-clean
sql/ha_heap.cc:
Auto merged
sql/sql_select.cc:
Auto merged
Diffstat (limited to 'sql/ha_heap.cc')
-rw-r--r-- | sql/ha_heap.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/ha_heap.cc b/sql/ha_heap.cc index 4dc48c7422b..033fe86720e 100644 --- a/sql/ha_heap.cc +++ b/sql/ha_heap.cc @@ -408,7 +408,8 @@ THR_LOCK_DATA **ha_heap::store_lock(THD *thd, int ha_heap::delete_table(const char *name) { char buff[FN_REFLEN]; - int error= heap_delete_table(fn_format(buff,name,"","",4+2)); + int error= heap_delete_table(fn_format(buff,name,"","", + MY_REPLACE_EXT|MY_UNPACK_FILENAME)); return error == ENOENT ? 0 : error; } @@ -527,7 +528,8 @@ int ha_heap::create(const char *name, TABLE *table_arg, create_info->auto_increment_value - 1 : 0); hp_create_info.max_table_size=current_thd->variables.max_heap_table_size; max_rows = (ha_rows) (hp_create_info.max_table_size / mem_per_row); - error= heap_create(fn_format(buff,name,"","",4+2), + error= heap_create(fn_format(buff,name,"","", + MY_REPLACE_EXT|MY_UNPACK_FILENAME), table_arg->keys,keydef, table_arg->reclength, (ulong) ((table_arg->max_rows < max_rows && table_arg->max_rows) ? |