~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_wcomp.cc

  • Committer: Brian Aker
  • Date: 2009-02-26 19:51:30 UTC
  • Revision ID: brian@tangent.org-20090226195130-tp0vdn5mqulw99f9
Creating signal handler plugin.

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= '\\';
 
23
char wild_many='*';
 
24
char wild_one='?';
 
25
char wild_prefix=0; /* QQ this can potentially cause a SIGSEGV */
26
26
 
27
27
int wild_compare(register const char *str, register const char *wildstr,
28
28
                 bool str_is_pattern)