hemant kumar wrote:
> RSTRING(ret)->len = mysql_real_escape_string(m, RSTRING_PTR(ret),
> RSTRING_PTR(str), RSTRING_LEN(str));
I'm not sure if libraries are supposed to set string length themselves -
as opposed to using the string gen functions from string.c.

[murphy]