1180
1180
Returns the length of the to string
1186
1186
return escape_string_for_mysql(default_charset_info, to, 0, from, length);
1190
1190
mysql_real_escape_string(MYSQL *mysql, char *to,const char *from,
1193
1193
if (mysql->server_status & SERVER_STATUS_NO_BACKSLASH_ESCAPES)
1194
1194
return escape_quotes_for_mysql(mysql->charset, to, 0, from, length);