~jaypipes/drizzle/subscriber-plugin

« back to all changes in this revision

Viewing changes to storage/blackhole/ha_blackhole.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:
125
125
 
126
126
int ha_blackhole::info(uint flag)
127
127
{
128
 
  bzero((char*) &stats, sizeof(stats));
 
128
  memset((char*) &stats, 0, sizeof(stats));
129
129
  if (flag & HA_STATUS_AUTO)
130
130
    stats.auto_increment_value= 1;
131
131
  return(0);