~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_db.cc

Replacing all bzero() calls with memset() calls and removing the bzero.c file.
Also removing check for bzero from the 'configure.ac' autoconf file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
424
424
  bool error=1;
425
425
  uint nbytes;
426
426
 
427
 
  bzero((char*) create,sizeof(*create));
 
427
  memset((char*) 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 */