~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/log_event.h

  • Committer: Brian Aker
  • Date: 2008-07-08 18:37:01 UTC
  • Revision ID: brian@tangent.org-20080708183701-2g828ir7rpnirv3f
Second pass at removing old varchar.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3141
3141
  </tr>
3142
3142
 
3143
3143
  <tr>
3144
 
    <td>MYSQL_TYPE_VAR_STRING</td><td>253</td>
3145
 
    <td>2 bytes</td>
3146
 
    <td>This is used to store both strings and enumeration values.
3147
 
    The first byte is a enumeration value storing the <i>real
3148
 
    type</i>, which may be either MYSQL_TYPE_VAR_STRING or
3149
 
    MYSQL_TYPE_ENUM.  The second byte is a 1 byte unsigned integer
3150
 
    representing the field size, i.e., the number of bytes needed to
3151
 
    store the length of the string.</td>
3152
 
  </tr>
3153
 
 
3154
 
  <tr>
3155
3144
    <td>MYSQL_TYPE_STRING</td><td>254</td>
3156
3145
    <td>2 bytes</td>
3157
3146
    <td>The first byte is always MYSQL_TYPE_VAR_STRING (i.e., 253).