~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sys_var.cc

  • Committer: Brian Aker
  • Date: 2011-07-19 02:02:52 UTC
  • mto: (2392.1.1 drizzle-autoconf)
  • mto: This revision was merged to the branch mainline in revision 2399.
  • Revision ID: brian@tangent.org-20110719020252-l078rwyxslyb287x
--help and --version now work a bit more quickly. Also, we don't have to worry about root messing up file creation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1375
1375
  uint32_t length= strlen(name);
1376
1376
  for (; opt->name; opt++)
1377
1377
  {
1378
 
    if (!getopt_compare_strings(opt->name, name, length) && !opt->name[length])
 
1378
    if (not getopt_compare_strings(opt->name, name, length) and not opt->name[length])
1379
1379
    {
1380
1380
      /*
1381
1381
      Only accept the option if one can set values through it.