diff options
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/libmysql.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index 024d19ff24b..3931d7947aa 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -1599,13 +1599,8 @@ mysql_real_escape_string(MYSQL *mysql, char *to,const char *from, ulong length) { if (mysql->server_status & SERVER_STATUS_NO_BACKSLASH_ESCAPES) - { return escape_quotes_for_mysql(mysql->charset, to, 0, from, length); - } - else - { - return escape_string_for_mysql(mysql->charset, to, 0, from, length); - } + return escape_string_for_mysql(mysql->charset, to, 0, from, length); } |