~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/log_event.h

Merging trunk changes from over weekend.

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
  }
3055
3058
  </tr>
3056
3059
 
3057
3060
  <tr>
3058
 
    <td>MYSQL_TYPE_INT24</td><td>9</td>
3059
 
    <td>0</td>
3060
 
    <td>No column metadata.</td>
3061
 
  </tr>
3062
 
 
3063
 
  <tr>
3064
3061
    <td>MYSQL_TYPE_DATE</td><td>10</td>
3065
3062
    <td>0</td>
3066
3063
    <td>No column metadata.</td>
3099
3096
  </tr>
3100
3097
 
3101
3098
  <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
3099
    <td>MYSQL_TYPE_NEWDECIMAL</td><td>246</td>
3112
3100
    <td>2 bytes</td>
3113
3101
    <td>A 1 byte unsigned int representing the precision, followed
3175
3163
    the representation of size of the string: 3 or 4.</td>
3176
3164
  </tr>
3177
3165
 
3178
 
  <tr>
3179
 
    <td>MYSQL_TYPE_GEOMETRY</td><td>255</td>
3180
 
    <td>1 byte</td>
3181
 
    <td>The pack length, i.e., the number of bytes needed to represent
3182
 
    the length of the geometry: 1, 2, 3, or 4.</td>
3183
 
  </tr>
3184
 
 
3185
3166
  </table>
3186
3167
*/
3187
3168
class Table_map_log_event : public Log_event