summaryrefslogtreecommitdiff
path: root/sql/sql_analyse.cc
diff options
context:
space:
mode:
authorunknown <jani@a193-229-222-105.elisa-laajakaista.fi>2005-01-12 22:55:10 +0200
committerunknown <jani@a193-229-222-105.elisa-laajakaista.fi>2005-01-12 22:55:10 +0200
commitec459b583b6281f6c918e8d56d7ca9316ddfa5c8 (patch)
tree894ebf107e263e6295f5dd2a3f28fd05b7100c14 /sql/sql_analyse.cc
parent3719265be791d7dc7caa76a3789ce1f021a8517b (diff)
downloadmariadb-git-ec459b583b6281f6c918e8d56d7ca9316ddfa5c8.tar.gz
Minor clean up.
mysql-test/t/analyse.test: Added a note about the bug that this test case tests. sql/sql_analyse.cc: Changed function description to standard format.
Diffstat (limited to 'sql/sql_analyse.cc')
-rw-r--r--sql/sql_analyse.cc15
1 files changed, 7 insertions, 8 deletions
diff --git a/sql/sql_analyse.cc b/sql/sql_analyse.cc
index 5265857f3b1..33ce62bc5cf 100644
--- a/sql/sql_analyse.cc
+++ b/sql/sql_analyse.cc
@@ -1029,20 +1029,19 @@ uint check_ulonglong(const char *str, uint length)
} /* check_ulonlong */
-
/*
- FUNCTION: append_escaped()
-
+ Quote special characters in a string.
+
+ SYNOPSIS
+ append_escaped(to_str, from_str)
+ to_str (in) A pointer to a String.
+ from_str (to) A pointer to an allocated string
+
DESCRIPTION
append_escaped() takes a String type variable, where it appends
escaped the second argument. Only characters that require escaping
will be escaped.
- ARGUMENTS
- A pointer to a String variable, where results will be appended
- A pointer to a String variable, which is appended to the result
- String, escaping those characters that require it.
-
RETURN VALUES
0 Success
1 Out of memory