~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Brian Aker
  • Date: 2008-07-29 07:47:38 UTC
  • mfrom: (212.6.1 bzero-memset)
  • Revision ID: brian@tangent.org-20080729074738-lfzim6htapm42f2o
MergeĀ fromĀ Mats

Show diffs side-by-side

added added

removed removed

Lines of Context:
331
331
  /*
332
332
    Fill in the given fields and dump it to the table file
333
333
  */
334
 
  bzero((char*) &info,sizeof(info));
 
334
  memset((char*) &info, 0, sizeof(info));
335
335
  info.ignore= ignore;
336
336
  info.handle_duplicates=duplic;
337
337
  info.update_fields= &update_fields;
1143
1143
   autoinc_value_of_last_inserted_row(0),
1144
1144
   insert_into_view(table_list_par && 0 != 0)
1145
1145
{
1146
 
  bzero((char*) &info,sizeof(info));
 
1146
  memset((char*) &info, 0, sizeof(info));
1147
1147
  info.handle_duplicates= duplic;
1148
1148
  info.ignore= ignore_check_option_errors;
1149
1149
  info.update_fields= update_fields;