~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/log_event.h

  • Committer: Brian Aker
  • Date: 2008-07-23 00:11:39 UTC
  • Revision ID: brian@tangent.org-20080723001139-967ewfngqqotwb6e
Removed final uint dead types.

Show diffs side-by-side

added added

removed removed

Lines of Context:
155
155
  const char* line_start;
156
156
  const char* escaped;
157
157
  int cached_new_format;
158
 
  uint8 field_term_len,enclosed_len,line_term_len,line_start_len, escaped_len;
 
158
  uint8_t field_term_len,enclosed_len,line_term_len,line_start_len, escaped_len;
159
159
  char opt_flags;
160
160
  char empty_flags;
161
161
 
619
619
  */
620
620
  bool printed_fd_event;
621
621
  my_off_t hexdump_from;
622
 
  uint8 common_header_len;
 
622
  uint8_t common_header_len;
623
623
  char delimiter[16];
624
624
 
625
625
  /*
855
855
    LOG_EVENT_FORCED_ROTATE_F, LOG_EVENT_THREAD_SPECIFIC_F, and
856
856
    LOG_EVENT_SUPPRESS_USE_F for notes.
857
857
  */
858
 
  uint16 flags;
 
858
  uint16_t flags;
859
859
 
860
860
  bool cache_stmt;
861
861
 
869
869
  THD* thd;
870
870
 
871
871
  Log_event();
872
 
  Log_event(THD* thd_arg, uint16 flags_arg, bool cache_stmt);
 
872
  Log_event(THD* thd_arg, uint16_t flags_arg, bool cache_stmt);
873
873
  /*
874
874
    read_log_event() functions read an event from a binlog or relay
875
875
    log; used by SHOW BINLOG EVENTS, the binlog_dump thread on the
1490
1490
  */
1491
1491
  uint32_t q_len;
1492
1492
  uint32_t db_len;
1493
 
  uint16 error_code;
 
1493
  uint16_t error_code;
1494
1494
  ulong thread_id;
1495
1495
  /*
1496
1496
    For events created by Query_log_event::do_apply_event (and
1527
1527
    Query_log_event, so automatically benefit from the work already done for
1528
1528
    status variables in Query_log_event.
1529
1529
 */
1530
 
  uint16 status_vars_len;
 
1530
  uint16_t status_vars_len;
1531
1531
 
1532
1532
  /*
1533
1533
    'flags2' is a second set of flags (on top of those in Log_event), for
1664
1664
  char* master_log;
1665
1665
  int master_host_len;
1666
1666
  int master_log_len;
1667
 
  uint16 master_port;
 
1667
  uint16_t master_port;
1668
1668
 
1669
1669
#ifndef MYSQL_CLIENT
1670
1670
  Slave_log_event(THD* thd_arg, Relay_log_info* rli);
2037
2037
     fixed.
2038
2038
  */
2039
2039
  time_t created;
2040
 
  uint16 binlog_version;
 
2040
  uint16_t binlog_version;
2041
2041
  char server_version[ST_SERVER_VER_LEN];
2042
2042
  /*
2043
2043
    artifical_event is 1 in the case where this is a generated event that
2112
2112
     LOG_EVENT_HEADER_LEN), except FORMAT_DESCRIPTION_EVENT and ROTATE_EVENT
2113
2113
     (those have a header of size LOG_EVENT_MINIMAL_HEADER_LEN).
2114
2114
  */
2115
 
  uint8 common_header_len;
2116
 
  uint8 number_of_event_types;
 
2115
  uint8_t common_header_len;
 
2116
  uint8_t number_of_event_types;
2117
2117
  /* The list of post-headers' lengthes */
2118
 
  uint8 *post_header_len;
 
2118
  uint8_t *post_header_len;
2119
2119
  uchar server_version_split[3];
2120
 
  const uint8 *event_type_permutation;
 
2120
  const uint8_t *event_type_permutation;
2121
2121
 
2122
 
  Format_description_log_event(uint8 binlog_ver, const char* server_ver=0);
 
2122
  Format_description_log_event(uint8_t binlog_ver, const char* server_ver=0);
2123
2123
  Format_description_log_event(const char* buf, uint event_len,
2124
2124
                               const Format_description_log_event
2125
2125
                               *description_event);
3149
3149
    ENUM_FLAG_COUNT
3150
3150
  };
3151
3151
 
3152
 
  typedef uint16 flag_set;
 
3152
  typedef uint16_t flag_set;
3153
3153
 
3154
3154
  /* Special constants representing sets of flags */
3155
3155
  enum 
3163
3163
 
3164
3164
#ifndef MYSQL_CLIENT
3165
3165
  Table_map_log_event(THD *thd, TABLE *tbl, ulong tid, 
3166
 
                      bool is_transactional, uint16 flags);
 
3166
                      bool is_transactional, uint16_t flags);
3167
3167
#endif
3168
3168
#ifdef HAVE_REPLICATION
3169
3169
  Table_map_log_event(const char *buf, uint event_len, 
3281
3281
    COMPLETE_ROWS_F = (1U << 3)
3282
3282
  };
3283
3283
 
3284
 
  typedef uint16 flag_set;
 
3284
  typedef uint16_t flag_set;
3285
3285
 
3286
3286
  /* Special constants representing sets of flags */
3287
3287
  enum