diff options
author | monty@mysql.com <> | 2003-11-28 12:18:13 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2003-11-28 12:18:13 +0200 |
commit | ede8169d24c56a4e264034b3a098477072532ca5 (patch) | |
tree | e5a58d3f07e9cca109d78031822106ff2be7f6f8 /mysys/mf_wcomp.c | |
parent | 7733969bf65befdbf1fd4445ec6b7efa43b61492 (diff) | |
download | mariadb-git-ede8169d24c56a4e264034b3a098477072532ca5.tar.gz |
Added missing SSL library (Should be in source distribution)
Fixed compiler warnings (a lot of hidden variables detected by the Forte compiler)
Added a lot of 'version_xxx' strings to 'show variables'
Prevent copying of TMP_TABLE_PARAM (This caused core dump bug on Solaris)
Fixed problem with printing sub selects to debug log
Diffstat (limited to 'mysys/mf_wcomp.c')
-rw-r--r-- | mysys/mf_wcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/mf_wcomp.c b/mysys/mf_wcomp.c index 62a5a02eaea..c2a103688f2 100644 --- a/mysys/mf_wcomp.c +++ b/mysys/mf_wcomp.c @@ -74,7 +74,7 @@ int wild_compare(register const char *str, register const char *wildstr, DBUG_RETURN(0); /* '*' as last char: OK */ if ((cmp= *wildstr) == wild_prefix && wildstr[1] && !str_is_pattern) cmp=wildstr[1]; - for(;;str++) + for (;;str++) { while (*str && *str != cmp) str++; @@ -83,7 +83,7 @@ int wild_compare(register const char *str, register const char *wildstr, if (wild_compare(str,wildstr,str_is_pattern) == 0) DBUG_RETURN (0); } - DBUG_RETURN(1); + /* We will never come here */ } } DBUG_RETURN (*str != 0); |