~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/log_event.h

  • Committer: Brian Aker
  • Date: 2008-07-05 19:24:24 UTC
  • mfrom: (53.2.8 codestyle)
  • Revision ID: brian@tangent.org-20080705192424-3uslywtteymm7xqy
First pass of removing BIT_TYPE

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#ifndef MYSQL_CLIENT
38
38
#include "rpl_record.h"
39
39
#include "rpl_reporting.h"
 
40
#else
 
41
#include "my_decimal.h"
40
42
#endif
41
43
 
42
44
/**
931
933
    return (void*) my_malloc((uint)size, MYF(MY_WME|MY_FAE));
932
934
  }
933
935
 
934
 
  static void operator delete(void *ptr, size_t size)
 
936
  static void operator delete(void *ptr,
 
937
                              size_t size __attribute__((__unused__)))
935
938
  {
936
939
    my_free((uchar*) ptr, MYF(MY_WME|MY_ALLOW_ZERO_PTR));
937
940
  }
3099
3102
  </tr>
3100
3103
 
3101
3104
  <tr>
3102
 
    <td>MYSQL_TYPE_BIT</td><td>16</td>
3103
 
    <td>2 bytes</td>
3104
 
    <td>A 1 byte unsigned int representing the length in bits of the
3105
 
    bitfield (0 to 64), followed by a 1 byte unsigned int
3106
 
    representing the number of bytes occupied by the bitfield.  The
3107
 
    number of bytes is either int((length+7)/8) or int(length/8).</td>
3108
 
  </tr>
3109
 
 
3110
 
  <tr>
3111
3105
    <td>MYSQL_TYPE_NEWDECIMAL</td><td>246</td>
3112
3106
    <td>2 bytes</td>
3113
3107
    <td>A 1 byte unsigned int representing the precision, followed