1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +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

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