~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_plugin.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:
567
567
    return(true);
568
568
  }
569
569
  /* Clear the whole struct to catch future extensions. */
570
 
  memset((char*) &tmp, 0, sizeof(tmp));
 
570
  memset(&tmp, 0, sizeof(tmp));
571
571
  if (! (tmp.plugin_dl= plugin_dl_add(dl, report)))
572
572
    return(true);
573
573
  /* Find plugin by name */