~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_class.h

  • Committer: Brian Aker
  • Date: 2008-07-22 17:19:24 UTC
  • Revision ID: brian@tangent.org-20080722171924-6wf69aguugtwfr72
Small cleanup around uint32 types (need to merge).

Show diffs side-by-side

added added

removed removed

Lines of Context:
586
586
    STATUS.
587
587
  */
588
588
  char *query;
589
 
  uint32 query_length;                          // current query length
 
589
  uint32_t query_length;                          // current query length
590
590
 
591
591
  /**
592
592
    Name of the current (default) database.
1108
1108
    first byte of the packet in do_command()
1109
1109
  */
1110
1110
  enum enum_server_command command;
1111
 
  uint32     server_id;
1112
 
  uint32     file_id;                   // for LOAD DATA INFILE
 
1111
  uint32_t     server_id;
 
1112
  uint32_t     file_id;                 // for LOAD DATA INFILE
1113
1113
  /* remote (peer) port */
1114
1114
  uint16 peer_port;
1115
1115
  time_t     start_time, user_time;
1142
1142
  int binlog_update_row(TABLE* table, bool is_transactional,
1143
1143
                        const uchar *old_data, const uchar *new_data);
1144
1144
 
1145
 
  void set_server_id(uint32 sid) { server_id = sid; }
 
1145
  void set_server_id(uint32_t sid) { server_id = sid; }
1146
1146
 
1147
1147
  /*
1148
1148
    Member functions to handle pending event for row-level logging.
1149
1149
  */
1150
1150
  template <class RowsEventT> Rows_log_event*
1151
 
    binlog_prepare_pending_rows_event(TABLE* table, uint32 serv_id,
 
1151
    binlog_prepare_pending_rows_event(TABLE* table, uint32_t serv_id,
1152
1152
                                      size_t needed,
1153
1153
                                      bool is_transactional,
1154
1154
                                      RowsEventT* hint);
1168
1168
     Flags with per-thread information regarding the status of the
1169
1169
     binary log.
1170
1170
   */
1171
 
  uint32 binlog_flags;
 
1171
  uint32_t binlog_flags;
1172
1172
public:
1173
1173
  uint get_binlog_table_maps() const {
1174
1174
    return binlog_table_maps;