summaryrefslogtreecommitdiff
path: root/storage/innobase/os
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-11-11 23:07:24 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2017-11-13 02:11:48 +0200
commitc19ef508b89b8abd2d320153a3d8960f60a0ad84 (patch)
tree3e88ab634ab48ae09242c40b52ebf720fe3324e9 /storage/innobase/os
parent17bd6ed29ad32c2c99d503db9a167aca16558c99 (diff)
downloadmariadb-git-c19ef508b89b8abd2d320153a3d8960f60a0ad84.tar.gz
InnoDB: Remove ut_snprintf() and the use of my_snprintf(); use snprintf()
Diffstat (limited to 'storage/innobase/os')
-rw-r--r--storage/innobase/os/os0file.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/storage/innobase/os/os0file.cc b/storage/innobase/os/os0file.cc
index 03793a1d064..51227696c1c 100644
--- a/storage/innobase/os/os0file.cc
+++ b/storage/innobase/os/os0file.cc
@@ -1305,11 +1305,8 @@ os_file_make_new_pathname(
new_path = static_cast<char*>(ut_malloc_nokey(new_path_len));
memcpy(new_path, old_path, dir_len);
- ut_snprintf(new_path + dir_len,
- new_path_len - dir_len,
- "%c%s.ibd",
- OS_PATH_SEPARATOR,
- base_name);
+ snprintf(new_path + dir_len, new_path_len - dir_len,
+ "%c%s.ibd", OS_PATH_SEPARATOR, base_name);
return(new_path);
}