summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authormonty@work.mysql.com <>2001-10-02 21:33:47 +0200
committermonty@work.mysql.com <>2001-10-02 21:33:47 +0200
commit193ae61fc0ee63dfed758c8623f4ec331efd2374 (patch)
treed9089456ab1e47d6aaaaf6706de408fea79fe87e /strings
parentce347166d245e9d47aa719d44367fa5edb75c62d (diff)
parentdb82d30bf0419d509101110ade2f8f7902900fa1 (diff)
downloadmariadb-git-193ae61fc0ee63dfed758c8623f4ec331efd2374.tar.gz
merge
Diffstat (limited to 'strings')
-rw-r--r--strings/strmake.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/strings/strmake.c b/strings/strmake.c
index 6f02e4007c8..96f220c2984 100644
--- a/strings/strmake.c
+++ b/strings/strmake.c
@@ -22,7 +22,8 @@
strmake(dst,src,length) moves length characters, or until end, of src to
dst and appends a closing NUL to dst.
- strmake() returns pointer to closing null;
+ Note that is strlen(src) >= length then dst[length] will be set to \0
+ strmake() returns pointer to closing null
*/
#include <my_global.h>