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:
@ -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
|
||||
|
Reference in New Issue
Block a user