~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_delete.cc

Removing redundant use of casts in drizzled/ for memcmp(), memcpy(), memset(), and memmove().
Adding non-const version of String::ptr() to provide covariance on const:ness.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
    List<Item>   fields;
70
70
    List<Item>   all_fields;
71
71
 
72
 
    memset((char*) &tables, 0, sizeof(tables));
 
72
    memset(&tables, 0, sizeof(tables));
73
73
    tables.table = table;
74
74
    tables.alias = table_list->alias;
75
75
 
851
851
  uint path_length;
852
852
  
853
853
 
854
 
  memset((char*) &create_info, 0, sizeof(create_info));
 
854
  memset(&create_info, 0, sizeof(create_info));
855
855
  /* If it is a temporary table, close and regenerate it */
856
856
  if (!dont_send_ok && (table= find_temporary_table(thd, table_list)))
857
857
  {