On Thursday 12 June 2008, Warren Young wrote:
> Tim Johnson wrote:
> > I can not locate a C api function to _unescape_ strings.
>
> Why do you believe you need one?
>
> You need to escape strings when building SQL query strings to avoid
> problems with quote characters, which are special in SQL.  When MySQL
> returns the queried data to your program, it's not using a SQL query to
> do so.  It just gives the data back in a directly usable form.
  Not sure what you mean by "directly usable".
  If I do an insert statement with a backslash, for example:
  "headline\one", I will retrieve "headline\\one", and that will
  need to be unescaped, because it is not a true representation
  of what was submitted by the original insert.
  tim


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

Reply via email to