~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_getopt.c

More cleanup/test fixup around utf8

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
            {