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