summaryrefslogtreecommitdiff
path: root/innobase/ut
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2004-10-04 20:38:23 +0300
committermarko@hundin.mysql.fi <>2004-10-04 20:38:23 +0300
commitd4b3df6d310e524f804d3c5d4876c338b3a6bc2e (patch)
treec0ed3c09c471d8bf011e421af67c823360cea902 /innobase/ut
parente7500f435ff93761bb2895e01079ec73e3bf3b9e (diff)
downloadmariadb-git-d4b3df6d310e524f804d3c5d4876c338b3a6bc2e.tar.gz
InnoDB: Fix ALTER TABLE t DISCARD TABLESPACE (Bug #5851)
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(