~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sys_var.cc

  • Committer: Brian Aker
  • Date: 2011-08-16 01:07:54 UTC
  • mfrom: (2363.1.8 drizzle-trunk)
  • mto: This revision was merged to the branch mainline in revision 2399.
  • Revision ID: brian@tangent.org-20110816010754-14sxcxr7r9jczh6a
Fixes for --help work.

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.