~jaypipes/drizzle/item-class-file-reorg

« back to all changes in this revision

Viewing changes to drizzled/sql_error.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:
74
74
  {
75
75
    thd->warn_id= thd->query_id;
76
76
    free_root(&thd->warn_root,MYF(0));
77
 
    bzero((char*) thd->warn_count, sizeof(thd->warn_count));
 
77
    memset((char*) thd->warn_count, 0, sizeof(thd->warn_count));
78
78
    if (force)
79
79
      thd->total_warn_count= 0;
80
80
    thd->warn_list.empty();