FS-2833
This commit is contained in:
parent
794db40e52
commit
7bd0a5a63d
|
@ -4324,7 +4324,7 @@ SWITCH_STANDARD_API(uuid_loglevel)
|
||||||
#define SQL_ESCAPE_SYNTAX "<string>"
|
#define SQL_ESCAPE_SYNTAX "<string>"
|
||||||
SWITCH_STANDARD_API(sql_escape)
|
SWITCH_STANDARD_API(sql_escape)
|
||||||
{
|
{
|
||||||
if (zstr(cmd)) {
|
if (!cmd) {
|
||||||
stream->write_function(stream, "-USAGE: %s\n", SQL_ESCAPE_SYNTAX);
|
stream->write_function(stream, "-USAGE: %s\n", SQL_ESCAPE_SYNTAX);
|
||||||
} else {
|
} else {
|
||||||
stream->write_function(stream, "%q", cmd);
|
stream->write_function(stream, "%q", cmd);
|
||||||
|
|
Loading…
Reference in New Issue