~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_wcomp.cc

  • Committer: Monty Taylor
  • Date: 2009-03-03 08:32:10 UTC
  • mfrom: (909 drizzle)
  • mto: This revision was merged to the branch mainline in revision 910.
  • Revision ID: mordred@inaugust.com-20090303083210-3cnjr53jspruighy
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
        /* Test if a string is "comparable" to a wild-card string */
21
21
        /* returns 0 if the strings are "comparable" */
22
22
 
23
 
char wild_many='*';
24
 
char wild_one='?';
25
 
char wild_prefix=0; /* QQ this can potentially cause a SIGSEGV */
 
23
char wild_many='%';
 
24
char wild_one='_';
 
25
char wild_prefix= '\\';
26
26
 
27
27
int wild_compare(register const char *str, register const char *wildstr,
28
28
                 bool str_is_pattern)