From 456524c0608c0fdbf61c585b2bd5dea57e861ef2 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 25 Jan 2006 19:54:42 -0800 Subject: Rename of my_strdup_with_lenght to match the more common "strndup" method. Soo its now my_strndup(). my_stat() gettinng the correct parameter list may be next :) client/mysqlslap.c: rename extra/comp_err.c: rename include/my_sys.h: replace mysys/mf_tempdir.c: replace mysys/my_malloc.c: replace mysys/safemalloc.c: replace sql/ha_federated.cc: replace sql/log_event.cc: replace sql/set_var.cc: replace sql/set_var.h: replace storage/myisam/ft_stopwords.c: replace --- sql/set_var.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/set_var.h') diff --git a/sql/set_var.h b/sql/set_var.h index 01705d5ff4d..34873947483 100644 --- a/sql/set_var.h +++ b/sql/set_var.h @@ -926,7 +926,7 @@ public: uint name_length_arg, gptr data_arg) :name_length(name_length_arg), data(data_arg) { - name= my_strdup_with_length((byte*) name_arg, name_length, MYF(MY_WME)); + name= my_strndup((byte*) name_arg, name_length, MYF(MY_WME)); links->push_back(this); } inline bool cmp(const char *name_cmp, uint length) -- cgit v1.2.1