summaryrefslogtreecommitdiff
path: root/sql/sql_string.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-03-26 09:42:33 +0100
committerSergei Golubchik <sergii@pisem.net>2014-03-26 09:42:33 +0100
commit218280bcd76eb8cbe083157433d709ff7a0e3580 (patch)
treebe2d0157628b7059a309243fe625e36653926c8e /sql/sql_string.cc
parentc73a0638c233f421bc17705d94e934d8fccfbe19 (diff)
downloadmariadb-git-218280bcd76eb8cbe083157433d709ff7a0e3580.tar.gz
make append_query_string() more usable:
simplify the prototype and move it to sql_string.h
Diffstat (limited to 'sql/sql_string.cc')
-rw-r--r--sql/sql_string.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_string.cc b/sql/sql_string.cc
index a2d4349f747..bcc811e426d 100644
--- a/sql/sql_string.cc
+++ b/sql/sql_string.cc
@@ -1014,7 +1014,7 @@ outp:
/*
Append characters to a single-quoted string '...', escaping special
- characters as necessary.
+ characters with backslashes as necessary.
Does not add the enclosing quotes, this is left up to caller.
*/
#define APPEND(X) if (append(X)) return 1; else break