From ec735ea8f74b19c47e6a8cd03e2d258aa1ba8efa Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 4 Oct 2004 20:38:23 +0300 Subject: 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() --- innobase/ut/ut0mem.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'innobase/ut') 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( -- cgit v1.2.1