diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-03-26 09:42:33 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-03-26 09:42:33 +0100 |
commit | 218280bcd76eb8cbe083157433d709ff7a0e3580 (patch) | |
tree | be2d0157628b7059a309243fe625e36653926c8e /sql/sql_string.h | |
parent | c73a0638c233f421bc17705d94e934d8fccfbe19 (diff) | |
download | mariadb-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.h | 3 |
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 */ |