~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.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:
2149
2149
    goto err;
2150
2150
 
2151
2151
  log_file_str= res->c_ptr();
2152
 
  bzero(&f_stat, sizeof(struct stat));
 
2152
  memset(&f_stat, 0, sizeof(struct stat));
2153
2153
 
2154
2154
  path_length= unpack_filename(path, log_file_str);
2155
2155
 
2974
2974
               (qsort_cmp) show_cmp);
2975
2975
    
2976
2976
    /* make last element empty */
2977
 
    bzero(show, sizeof(SHOW_VAR));
 
2977
    memset(show, 0, sizeof(SHOW_VAR));
2978
2978
  }
2979
2979
  return result;
2980
2980
}