summaryrefslogtreecommitdiff
path: root/storage/myisam/ft_stopwords.c
diff options
context:
space:
mode:
authorunknown <brian@zim.tangent.org>2006-01-25 19:54:42 -0800
committerunknown <brian@zim.tangent.org>2006-01-25 19:54:42 -0800
commit456524c0608c0fdbf61c585b2bd5dea57e861ef2 (patch)
tree3da670fea2b41862a7aafcd0b78759610f62319b /storage/myisam/ft_stopwords.c
parent58de75fae8bcfebea7549fa3eb909ca6fe8cb090 (diff)
downloadmariadb-git-456524c0608c0fdbf61c585b2bd5dea57e861ef2.tar.gz
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
Diffstat (limited to 'storage/myisam/ft_stopwords.c')
-rw-r--r--storage/myisam/ft_stopwords.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisam/ft_stopwords.c b/storage/myisam/ft_stopwords.c
index ab51afb0e82..3b5a1752ff7 100644
--- a/storage/myisam/ft_stopwords.c
+++ b/storage/myisam/ft_stopwords.c
@@ -83,7 +83,7 @@ int ft_init_stopwords()
end=start+len;
while (ft_simple_get_word(default_charset_info, &start, end, &w, TRUE))
{
- if (ft_add_stopword(my_strdup_with_length(w.pos, w.len, MYF(0))))
+ if (ft_add_stopword(my_strndup(w.pos, w.len, MYF(0))))
goto err1;
}
error=0;