Commit 1f57bc05 authored by unknown's avatar unknown

manual.texi addition to mysql_real_escape_string() description.


Docs/manual.texi:
  addition to mysql_real_escape_string() description.
parent 7b4d3c77
...@@ -44280,6 +44280,9 @@ into account the current character set of the connection. The result is placed ...@@ -44280,6 +44280,9 @@ into account the current character set of the connection. The result is placed
in @code{to} and a terminating null byte is appended. Characters in @code{to} and a terminating null byte is appended. Characters
encoded are @code{NUL} (ASCII 0), @samp{\n}, @samp{\r}, @samp{\}, encoded are @code{NUL} (ASCII 0), @samp{\n}, @samp{\r}, @samp{\},
@samp{'}, @samp{"}, and Control-Z (@pxref{Literals}). @samp{'}, @samp{"}, and Control-Z (@pxref{Literals}).
(Strictly speaking, MySQL requires only that backslash and the quote
character used to quote the string in the query be escaped. This function
quotes the other characters to make them easier to read in log files.)
The string pointed to by @code{from} must be @code{length} bytes long. You The string pointed to by @code{from} must be @code{length} bytes long. You
must allocate the @code{to} buffer to be at least @code{length*2+1} bytes must allocate the @code{to} buffer to be at least @code{length*2+1} bytes
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment