~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/libdrizzle.c

  • Committer: Andrey Hristov
  • Date: 2008-07-30 22:10:03 UTC
  • mto: (236.1.16 codestyle)
  • mto: This revision was merged to the branch mainline in revision 243.
  • Revision ID: ahristov@mysql.com-20080730221003-lj35pl962oeuqv37
Rename escape_(string|quotes)_for_mysql to escape_(string|quotes)_for_drizzle

Show diffs side-by-side

added added

removed removed

Lines of Context:
903
903
uint32_t STDCALL
904
904
drizzle_escape_string(char *to,const char *from, uint32_t length)
905
905
{
906
 
  return escape_string_for_mysql(default_charset_info, to, 0, from, length);
 
906
  return escape_string_for_drizzle(default_charset_info, to, 0, from, length);
907
907
}
908
908
 
909
909
uint32_t STDCALL
911
911
       uint32_t length)
912
912
{
913
913
  if (drizzle->server_status & SERVER_STATUS_NO_BACKSLASH_ESCAPES)
914
 
    return escape_quotes_for_mysql(drizzle->charset, to, 0, from, length);
915
 
  return escape_string_for_mysql(drizzle->charset, to, 0, from, length);
 
914
    return escape_quotes_for_drizzle(drizzle->charset, to, 0, from, length);
 
915
  return escape_string_for_drizzle(drizzle->charset, to, 0, from, length);
916
916
}
917
917
 
918
918
void STDCALL