1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

make append_query_string() more usable:

simplify the prototype and move it to sql_string.h
This commit is contained in:
Sergei Golubchik
2014-03-26 09:42:33 +01:00
parent c73a0638c2
commit 218280bcd7
6 changed files with 19 additions and 20 deletions

View File

@ -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 */