~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_wcomp.cc

Removing global errbuff and cleaning up two remaining instances that referenced it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
/* Funktions for comparing with wild-cards */
17
17
 
18
 
#include "mysys_priv.h"
 
18
#include "mysys/mysys_priv.h"
19
19
 
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)