~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/repl_failsafe.cc

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
 
65
65
#define get_object(p, obj, msg) \
66
66
{\
67
 
  uint len = (uint)*p++;  \
 
67
  uint32_t len = (uint)*p++;  \
68
68
  if (p + len > p_end || len >= sizeof(obj)) \
69
69
  {\
70
70
    errmsg= msg;\
110
110
    1   Error.   Error message sent to client
111
111
*/
112
112
 
113
 
int register_slave(THD* thd, unsigned char* packet, uint packet_length)
 
113
int register_slave(THD* thd, unsigned char* packet, uint32_t packet_length)
114
114
{
115
115
  int res;
116
116
  SLAVE_INFO *si;
204
204
 
205
205
  pthread_mutex_lock(&LOCK_slave_list);
206
206
 
207
 
  for (uint i = 0; i < slave_list.records; ++i)
 
207
  for (uint32_t i = 0; i < slave_list.records; ++i)
208
208
  {
209
209
    SLAVE_INFO* si = (SLAVE_INFO*) hash_element(&slave_list, i);
210
210
    protocol->prepare_for_resend();