diff options
author | unknown <marko@hundin.mysql.fi> | 2004-10-04 20:38:23 +0300 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-10-04 20:38:23 +0300 |
commit | ec735ea8f74b19c47e6a8cd03e2d258aa1ba8efa (patch) | |
tree | c0ed3c09c471d8bf011e421af67c823360cea902 /innobase/ut | |
parent | ef40ba04e8f64c1bf6a3347ff70d7fea7ca6eba1 (diff) | |
download | mariadb-git-ec735ea8f74b19c47e6a8cd03e2d258aa1ba8efa.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.c | 8 |
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( |