~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_binlog.cc

  • Committer: Brian Aker
  • Date: 2008-08-11 05:35:22 UTC
  • Revision ID: brian@tangent.org-20080811053522-ja8if8vjk87wen23
Minor cleanups around ulong in kernel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
      /*
117
117
        Checking that the first event in the buffer is not truncated.
118
118
      */
119
 
      ulong event_len= uint4korr(bufptr + EVENT_LEN_OFFSET);
 
119
      uint32_t event_len= uint4korr(bufptr + EVENT_LEN_OFFSET);
120
120
      if (bytes_decoded < EVENT_LEN_OFFSET || (uint) bytes_decoded < event_len)
121
121
      {
122
122
        my_error(ER_SYNTAX_ERROR, MYF(0));