~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/log_event.h

  • Committer: Brian Aker
  • Date: 2008-07-22 18:31:32 UTC
  • Revision ID: brian@tangent.org-20080722183132-ne2ntl7g7mdf2eez
uint32 -> uin32_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
586
586
  // TODO: have the last catalog here ??
587
587
  char db[FN_REFLEN+1]; // TODO: make this a LEX_STRING when thd->db is
588
588
  bool flags2_inited;
589
 
  uint32 flags2;
 
589
  uint32_t flags2;
590
590
  bool sql_mode_inited;
591
591
  ulong sql_mode;               /* must be same as THD.variables.sql_mode */
592
592
  ulong auto_increment_increment, auto_increment_offset;
848
848
    The master's server id (is preserved in the relay log; used to
849
849
    prevent from infinite loops in circular replication).
850
850
  */
851
 
  uint32 server_id;
 
851
  uint32_t server_id;
852
852
 
853
853
  /**
854
854
    Some 16 flags. See the definitions above for LOG_EVENT_TIME_F,
1488
1488
    we pass it with q_len, so we would not have to call strlen()
1489
1489
    otherwise, set it to 0, in which case, we compute it with strlen()
1490
1490
  */
1491
 
  uint32 q_len;
1492
 
  uint32 db_len;
 
1491
  uint32_t q_len;
 
1492
  uint32_t db_len;
1493
1493
  uint16 error_code;
1494
1494
  ulong thread_id;
1495
1495
  /*
1542
1542
  bool sql_mode_inited;
1543
1543
  bool charset_inited;
1544
1544
 
1545
 
  uint32 flags2;
 
1545
  uint32_t flags2;
1546
1546
  /* In connections sql_mode is 32 bits now but will be 64 bits soon */
1547
1547
  ulong sql_mode;
1548
1548
  ulong auto_increment_increment, auto_increment_offset;
1598
1598
 
1599
1599
  int do_apply_event(Relay_log_info const *rli,
1600
1600
                       const char *query_arg,
1601
 
                       uint32 q_len_arg);
 
1601
                       uint32_t q_len_arg);
1602
1602
#endif /* HAVE_REPLICATION */
1603
1603
};
1604
1604
 
1904
1904
public:
1905
1905
  ulong thread_id;
1906
1906
  ulong slave_proxy_id;
1907
 
  uint32 table_name_len;
 
1907
  uint32_t table_name_len;
1908
1908
  /*
1909
1909
    No need to have a catalog, as these events can only come from 4.x.
1910
1910
    TODO: this may become false if Dmitri pushes his new LOAD DATA INFILE in
1911
1911
    5.0 only (not in 4.x).
1912
1912
  */
1913
 
  uint32 db_len;
1914
 
  uint32 fname_len;
1915
 
  uint32 num_fields;
 
1913
  uint32_t db_len;
 
1914
  uint32_t fname_len;
 
1915
  uint32_t num_fields;
1916
1916
  const char* fields;
1917
1917
  const uchar* field_lens;
1918
 
  uint32 field_block_len;
 
1918
  uint32_t field_block_len;
1919
1919
 
1920
1920
  const char* table_name;
1921
1921
  const char* db;
1922
1922
  const char* fname;
1923
 
  uint32 skip_lines;
 
1923
  uint32_t skip_lines;
1924
1924
  sql_ex_info sql_ex;
1925
1925
  bool local_fname;
1926
1926
 
3375
3375
  ulong       m_master_reclength; /* Length of record on master side */
3376
3376
 
3377
3377
  /* Bit buffers in the same memory as the class */
3378
 
  uint32    m_bitbuf[128/(sizeof(uint32)*8)];
3379
 
  uint32    m_bitbuf_ai[128/(sizeof(uint32)*8)];
 
3378
  uint32_t    m_bitbuf[128/(sizeof(uint32_t)*8)];
 
3379
  uint32_t    m_bitbuf_ai[128/(sizeof(uint32_t)*8)];
3380
3380
 
3381
3381
  uchar    *m_rows_buf;         /* The rows in packed format */
3382
3382
  uchar    *m_rows_cur;         /* One-after the end of the data */