~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

Remove dead memset call.

Show diffs side-by-side

added added

removed removed

Lines of Context:
317
317
  /*
318
318
    Fill in the given fields and dump it to the table cursor
319
319
  */
320
 
  memset(&info, 0, sizeof(info));
321
320
  info.ignore= ignore;
322
321
  info.handle_duplicates=duplic;
323
322
  info.update_fields= &update_fields;
1050
1049
                             List<Item> *update_fields,
1051
1050
                             List<Item> *update_values,
1052
1051
                             enum_duplicates duplic,
1053
 
                             bool ignore_check_option_errors)
1054
 
  :table_list(table_list_par), table(table_par), fields(fields_par),
1055
 
   autoinc_value_of_last_inserted_row(0),
1056
 
   insert_into_view(table_list_par && 0 != 0)
 
1052
                             bool ignore_check_option_errors) :
 
1053
  table_list(table_list_par), table(table_par), fields(fields_par),
 
1054
  autoinc_value_of_last_inserted_row(0),
 
1055
  insert_into_view(table_list_par && 0 != 0)
1057
1056
{
1058
 
  memset(&info, 0, sizeof(info));
1059
1057
  info.handle_duplicates= duplic;
1060
1058
  info.ignore= ignore_check_option_errors;
1061
1059
  info.update_fields= update_fields;