~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_delete.cc

Merged build changes from Antony.

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
 
503
503
 
504
504
 
505
505
int
506
 
multi_delete::prepare(List<Item> &values __attribute__((__unused__)),
 
506
multi_delete::prepare(List<Item> &values __attribute__((unused)),
507
507
                      SELECT_LEX_UNIT *u)
508
508
{
509
509
  
599
599
}
600
600
 
601
601
 
602
 
bool multi_delete::send_data(List<Item> &values __attribute__((__unused__)))
 
602
bool multi_delete::send_data(List<Item> &values __attribute__((unused)))
603
603
{
604
604
  int secure_counter= delete_while_scanning ? -1 : 0;
605
605
  TABLE_LIST *del_table;
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
  {