~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/mysqlslap.c

  • 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:
438
438
  head_sptr= (stats *)my_malloc(sizeof(stats) * iterations,
439
439
                                MYF(MY_ZEROFILL|MY_FAE|MY_WME));
440
440
 
441
 
  bzero(&conclusion, sizeof(conclusions));
 
441
  memset(&conclusion, 0, sizeof(conclusions));
442
442
 
443
443
  if (auto_actual_queries)
444
444
    client_limit= auto_actual_queries;
2178
2178
    char buffer[HUGE_STRING_LENGTH];
2179
2179
    char *buffer_ptr;
2180
2180
 
2181
 
    bzero(buffer, HUGE_STRING_LENGTH);
 
2181
    memset(buffer, 0, HUGE_STRING_LENGTH);
2182
2182
 
2183
2183
    string= strchr(begin_ptr, delm);
2184
2184
 
2334
2334
  char label_buffer[HUGE_STRING_LENGTH];
2335
2335
  size_t string_len;
2336
2336
 
2337
 
  bzero(label_buffer, HUGE_STRING_LENGTH);
 
2337
  memset(label_buffer, 0, HUGE_STRING_LENGTH);
2338
2338
 
2339
2339
  if (opt_label)
2340
2340
  {