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