summaryrefslogtreecommitdiff
path: root/innobase/ut
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2004-10-04 20:38:23 +0300
committerunknown <marko@hundin.mysql.fi>2004-10-04 20:38:23 +0300
commite8cab054208449ccb6f491ee2f9ec28277959554 (patch)
treec0ed3c09c471d8bf011e421af67c823360cea902 /innobase/ut
parentaf9cd2956db3952018b9951113025d31398d5864 (diff)
downloadmariadb-git-e8cab054208449ccb6f491ee2f9ec28277959554.tar.gz
InnoDB: Fix ALTER TABLE t DISCARD TABLESPACE (Bug #5851)
innobase/include/ut0mem.h: Improve documentation of ut_strlenq(), ut_strcpyq() and ut_memcpyq() innobase/include/ut0mem.ic: Improve documentation of ut_strlenq() innobase/row/row0mysql.c: row_discard_tablespace_for_mysql(): Add quotes around table_name in DISCARD_TABLESPACE_PROC (Bug #5851) innobase/ut/ut0mem.c: Improve documentation of ut_strcpyq() and ut_memcpyq()
Diffstat (limited to 'innobase/ut')
-rw-r--r--innobase/ut/ut0mem.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/innobase/ut/ut0mem.c b/innobase/ut/ut0mem.c
index 09410e348c2..a6002d7fd83 100644
--- a/innobase/ut/ut0mem.c
+++ b/innobase/ut/ut0mem.c
@@ -313,7 +313,9 @@ ut_free_all_mem(void)
}
/**************************************************************************
-Make a quoted copy of a string. */
+Make a quoted copy of a NUL-terminated string. Leading and trailing
+quotes will not be included; only embedded quotes will be escaped.
+See also ut_strlenq() and ut_memcpyq(). */
char*
ut_strcpyq(
@@ -333,7 +335,9 @@ ut_strcpyq(
}
/**************************************************************************
-Make a quoted copy of a fixed-length string. */
+Make a quoted copy of a fixed-length string. Leading and trailing
+quotes will not be included; only embedded quotes will be escaped.
+See also ut_strlenq() and ut_strcpyq(). */
char*
ut_memcpyq(