summaryrefslogtreecommitdiff
path: root/ext/mysql/libmysql/strmake.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/libmysql/strmake.c')
-rw-r--r--ext/mysql/libmysql/strmake.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mysql/libmysql/strmake.c b/ext/mysql/libmysql/strmake.c
index 789b9c6be9..8bfe104aa5 100644
--- a/ext/mysql/libmysql/strmake.c
+++ b/ext/mysql/libmysql/strmake.c
@@ -8,7 +8,8 @@ This file is public domain and comes with NO WARRANTY of any kind */
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 <global.h>