f224072f1b
was able to grant privileges on the database, he has no privileges on. (Bug #3933)
22 lines
737 B
Plaintext
22 lines
737 B
Plaintext
$OpenBSD: patch-mysys_mf_wfile_c,v 1.1 2004/10/20 07:36:04 brad Exp $
|
|
--- mysys/mf_wfile.c.orig Thu May 13 20:53:35 2004
|
|
+++ mysys/mf_wfile.c Wed Oct 20 00:50:18 2004
|
|
@@ -106,7 +106,7 @@ int wf_test(register WF_PACK *wf_pack, r
|
|
|
|
not_pos=wf_pack->not_pos;
|
|
for (i=0 ; i < not_pos; i++)
|
|
- if (wild_compare(name,wf_pack->wild[i]) == 0)
|
|
+ if (wild_compare(name,wf_pack->wild[i],0) == 0)
|
|
goto found;
|
|
if (i)
|
|
DBUG_RETURN(1); /* No-match */
|
|
@@ -115,7 +115,7 @@ found:
|
|
/* Test that it isn't in not-list */
|
|
|
|
for (i=not_pos ; i < wf_pack->wilds; i++)
|
|
- if (wild_compare(name,wf_pack->wild[i]) == 0)
|
|
+ if (wild_compare(name,wf_pack->wild[i],0) == 0)
|
|
DBUG_RETURN(1);
|
|
DBUG_RETURN(0);
|
|
} /* wf_test */
|