~jaypipes/drizzle/subscriber-plugin

« back to all changes in this revision

Viewing changes to drizzled/sql_db.cc

  • Committer: Brian Aker
  • Date: 2008-07-29 07:47:38 UTC
  • mfrom: (212.6.1 bzero-memset)
  • Revision ID: brian@tangent.org-20080729074738-lfzim6htapm42f2o
MergeĀ fromĀ Mats

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 */