diff options
author | unknown <ingo@mysql.com> | 2006-06-26 22:23:04 +0200 |
---|---|---|
committer | unknown <ingo@mysql.com> | 2006-06-26 22:23:04 +0200 |
commit | 0f93a64effb53f2902698a9d6f020f89d0edd26a (patch) | |
tree | f6addaf53ada6d9222bb8fb87f2d633c0379f642 /mysys | |
parent | 8fe3c29f84a49d6338a63e53d0ab6c46d8d181a3 (diff) | |
parent | c3cb46908c30895e0aafa0f7602370240a3c5a98 (diff) | |
download | mariadb-git-0f93a64effb53f2902698a9d6f020f89d0edd26a.tar.gz |
Merge istruewing@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/nfstmp1/ingo/autopush-75/mysql-5.0
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/mf_dirname.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mysys/mf_dirname.c b/mysys/mf_dirname.c index 9206aa28078..4d78f039799 100644 --- a/mysys/mf_dirname.c +++ b/mysys/mf_dirname.c @@ -72,7 +72,9 @@ uint dirname_part(my_string to, const char *name) SYNPOSIS convert_dirname() - to Store result here + to Store result here. Must be at least of size + min(FN_REFLEN, strlen(from) + 1) to make room + for adding FN_LIBCHAR at the end. from Original filename from_end Pointer at end of filename (normally end \0) |