~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_getopt.c

  • Committer: Monty Taylor
  • Date: 2008-09-13 20:24:20 UTC
  • mfrom: (383.1.35 drizzle)
  • Revision ID: monty@inaugust.com-20080913202420-lkj76ewbabl8ljvp
MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
386
386
              */
387
387
            (*argc)--;
388
388
            if (!optend || *optend == '1' ||
389
 
                !my_strcasecmp(&my_charset_latin1, optend, "true"))
 
389
                !my_strcasecmp(&my_charset_utf8_general_ci, optend, "true"))
390
390
              *((bool*) value)= (bool) 1;
391
391
            else if (*optend == '0' ||
392
 
                     !my_strcasecmp(&my_charset_latin1, optend, "false"))
 
392
                     !my_strcasecmp(&my_charset_utf8_general_ci, optend, "false"))
393
393
              *((bool*) value)= (bool) 0;
394
394
            else
395
395
            {