~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Mark Atwood
  • Date: 2011-11-22 17:04:41 UTC
  • mfrom: (2462.1.3 drizzle-include)
  • Revision ID: me@mark.atwood.name-20111122170441-5dehm0e0ax20z19b
mergeĀ lp:~brianaker/drizzle/fedora-16-fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
217
217
static uint32_t wake_thread;
218
218
static const char* drizzled_chroot;
219
219
static const char* default_character_set_name= "utf8";
 
220
static const char* character_set_filesystem_name= "binary";
220
221
static const char* lc_time_names_name= "en_US";
221
222
static const char* default_storage_engine_str= "innodb";
222
223
static const char* const compiled_default_collation_name= "utf8_general_ci";
1419
1420
  /* Set collactions that depends on the default collation */
1420
1421
  global_system_variables.collation_server=      default_charset_info;
1421
1422
 
1422
 
  if (not (character_set_filesystem= get_charset_by_csname("binary", MY_CS_PRIMARY)))
 
1423
  if (not (character_set_filesystem=
 
1424
           get_charset_by_csname(character_set_filesystem_name, MY_CS_PRIMARY)))
1423
1425
  {
1424
1426
    errmsg_printf(error::ERROR, _("Error setting collation"));
1425
1427
    return false;
1441
1443
 
1442
1444
bool was_help_requested()
1443
1445
{
1444
 
  return vm.count("help");
 
1446
  if (vm.count("help") == 0)
 
1447
  {
 
1448
    return false;
 
1449
  }
 
1450
 
 
1451
  return true;
1445
1452
}
1446
1453
 
1447
1454
void usage();