#At file:///home/thek/Development/cpp/mysqlbzr/mysql-5.0-bug21226/
------------------------------------------------------------
revno: 2636
revision-id: kpettersson@stripped
parent: joerg@stripped
committer: Kristofer Pettersson <kpettersson@stripped>
branch nick: mysql-5.0-bug21226
timestamp: Tue 2008-06-17 12:08:09 +0200
message:
Bug#21226 FLUSH PRIVILEGES does not provided feedback when it fails.
If during a FLUSH PRIVILEGES the server fails to load the new privilege
tables, the error message is lost. This patch is a back port from 5.1 which
adresses this issue by setting the server in an error state if a failure
occurrs.
This patch also corrects an incorrect variable assignment which might
cause an error state to be reverted by coincidence.
modified:
sql/sql_parse.cc
sp1f-sql_parse.cc-19700101030959-ehcre3rwhv5l3mlxqhaxg36ujenxnrcd
per-file comments:
sql/sql_parse.cc
* Set error state if acl_reload or grant_reload fails.
* Fix bad variable assignment which cancels previous error status.
Attachment: [text/text/x-diff] patch-2636.diff
| Thread |
|---|
| • bzr commit into mysql-5.0 tree (kpettersson:2636) Bug#21226 | Kristofer Pettersson | 17 Jun |