diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2015-11-18 19:50:53 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2015-11-26 11:34:16 +0400 |
commit | 464394bf478a7f3b397ec7045627f827a34c1f09 (patch) | |
tree | b918fc9567dc2ddc87ab93ef84a3ca2d7614ce4c /storage | |
parent | 13af8650a82f9452d36fe001c42b0b2c794f98d4 (diff) | |
download | mariadb-git-464394bf478a7f3b397ec7045627f827a34c1f09.tar.gz |
MDEV-8717 - Obsolete sql_strdup() in favor of THD::strdup() and thd_strdup()
Diffstat (limited to 'storage')
-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 93276d2f278..bbce62e0641 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; } |