Gelu Gogancea wrote:
I use mysql C API and for *escaping* the data i use the 
mysql_real_escape_string()....the mysql native function.
Thanks,

Make sure to use mysql_real_query with the right length.
because mysql_query is a macro for mysql_real_query with an additionnal parameters given by strlen(query_string); which culd lead to the broken result.

http://dev.mysql.com/doc/mysql/en/mysql-real-query.html

--
Philippe Poelvoorde
COS Trading Ltd.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to