diff options
Diffstat (limited to 'storage/archive')
-rw-r--r-- | storage/archive/ha_archive.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/archive/ha_archive.cc b/storage/archive/ha_archive.cc index ca07cc80a1a..c322c8eee54 100644 --- a/storage/archive/ha_archive.cc +++ b/storage/archive/ha_archive.cc @@ -1645,7 +1645,7 @@ void ha_archive::update_create_info(HA_CREATE_INFO *create_info) } if (!(my_readlink(tmp_real_path, share->data_file_name, MYF(0)))) - create_info->data_file_name= sql_strdup(tmp_real_path); + create_info->data_file_name= thd_strdup(ha_thd(), tmp_real_path); DBUG_VOID_RETURN; } |