summaryrefslogtreecommitdiff
path: root/sql/sql_string.h
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.h
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.h')
-rw-r--r--sql/sql_string.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h
index 77712c09805..bc9e7f11bd6 100644
--- a/sql/sql_string.h
+++ b/sql/sql_string.h
@@ -568,4 +568,7 @@ static inline bool check_if_only_end_space(CHARSET_INFO *cs,
return str+ cs->cset->scan(cs, str, end, MY_SEQ_SPACES) == end;
}
+int append_query_string(CHARSET_INFO *csinfo, String *to,
+ const char *str, size_t len, bool no_backslash);
+
#endif /* SQL_STRING_INCLUDED */