~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_db.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:
424
424
  bool error=1;
425
425
  uint nbytes;
426
426
 
427
 
  memset((char*) create, 0, sizeof(*create));
 
427
  memset(create, 0, sizeof(*create));
428
428
  create->default_table_charset= thd->variables.collation_server;
429
429
 
430
430
  /* Check if options for this database are already in the hash */