List:Internals« Previous MessageNext Message »
From:Stewart Smith Date:July 28 2006 12:08am
Subject:Re: Question about errors during 'flush privileges'
View as plain text  
On Thu, 2006-07-20 at 22:08 -0700, Mark Callaghan wrote:
> In 5.1.11, reload_acl_and_cache() is called during 'flush privileges'. 
> It calls grant_reload() and acl_reload(). The called functions return 
> my_bool, but the return values are ignored in reload_acl_and_cache(). 
> If an error occurs, it is not reported back to the user. Why are the 
> errors ignored in this case? I think that it is good to report the error 
> so the user knows that new privileges have not been loaded.

I would tend to agree.

Best file a bug. even better if there's a patch attached :)
-- 
Stewart Smith, Software Engineer
MySQL AB, www.mysql.com
Office: +14082136540 Ext: 6616
VoIP: 6616@stripped
Mobile: +61 4 3 8844 332

Jumpstart your cluster:
http://www.mysql.com/consulting/packaged/cluster.html

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Thread
Question about errors during 'flush privileges'Mark Callaghan21 Jul
  • Re: Question about errors during 'flush privileges'Stewart Smith28 Jul