~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/rpl_mi.cc

Removing redundant use of casts in drizzled/ for memcmp(), memcpy(), memset(), and memmove().
Adding non-const version of String::ptr() to provide covariance on const:ness.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
  ssl_ca[0]= 0; ssl_capath[0]= 0; ssl_cert[0]= 0;
41
41
  ssl_cipher[0]= 0; ssl_key[0]= 0;
42
42
 
43
 
  memset((char*) &file, 0, sizeof(file));
 
43
  memset(&file, 0, sizeof(file));
44
44
  pthread_mutex_init(&run_lock, MY_MUTEX_INIT_FAST);
45
45
  pthread_mutex_init(&data_lock, MY_MUTEX_INIT_FAST);
46
46
  pthread_cond_init(&data_cond, NULL);