~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_delete.cc

Replacing all bzero() calls with memset() calls and removing the bzero.c file.
Also removing check for bzero from the 'configure.ac' autoconf file.

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
 
    bzero((char*) &tables,sizeof(tables));
 
72
    memset((char*) &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
 
  bzero((char*) &create_info,sizeof(create_info));
 
854
  memset((char*) &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
  {