~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_error.cc

  • Committer: Brian Aker
  • Date: 2009-02-21 00:18:15 UTC
  • Revision ID: brian@tangent.org-20090221001815-x20e8h71e984lvs1
Completion (?) of uint conversion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
    if ((err= new (&session->warn_root) DRIZZLE_ERROR(session, code, level, msg)))
142
142
      session->warn_list.push_back(err, &session->warn_root);
143
143
  }
144
 
  session->warn_count[(uint) level]++;
 
144
  session->warn_count[(uint32_t) level]++;
145
145
  session->total_warn_count++;
146
146
  return(err);
147
147
}