~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/binlog_encoding.h

  • Committer: Brian Aker
  • Date: 2009-07-28 00:23:04 UTC
  • mfrom: (1093.1.27 captain)
  • Revision ID: brian@gaz-20090728002304-5ofdagl78lxvnocv
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    uint_fast8_t pow2= 1;          // pow2(log2m1 + 1)
40
40
    while (length > 0) {
41
41
      // Check the invariants
42
 
      assert(pow2 == (1 << (log2m1 + 1)));
 
42
      assert(((int_fast8_t)pow2) == (1 << (log2m1 + 1)));
43
43
      assert((ptr - buf) <= (1 << (log2m1 + 1)));
44
44
 
45
45
      // Write the least significant byte of the current