summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2015-11-18 19:50:53 +0400
committerSergey Vojtovich <svoj@mariadb.org>2015-11-26 11:34:16 +0400
commit464394bf478a7f3b397ec7045627f827a34c1f09 (patch)
treeb918fc9567dc2ddc87ab93ef84a3ca2d7614ce4c /storage
parent13af8650a82f9452d36fe001c42b0b2c794f98d4 (diff)
downloadmariadb-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.cc2
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;
}