#At file:///data0/martin/bzr/5.1bt-bug37191/
------------------------------------------------------------
revno: 2661
revision-id: mhansson@stripped
parent: mattiasj@stripped
committer: Martin Hansson <mhansson@stripped>
branch nick: 5.1bt-bug37191
timestamp: Mon 2008-06-09 17:08:19 +0200
message:
Bug#37191: Failed assertion in CREATE VIEW
It was assumed that if the intersection of all column grants for all
underlying tables in a view was empty, it implied that the view had
more privileges on some column than the corresponding underlying table.
Fixed by removing the assumption (which was an assert()) and raising an
error only when both hold.
modified:
mysql-test/r/view_grant.result sp1f-view_grant.result-20050404194355-hbbr5ud3thpo5tn65q6eyecswq5mdhwk
mysql-test/t/view_grant.test sp1f-view_grant.test-20050404194355-y5ik7soywcms7xriyzo72dooviahc7cx
sql/sql_view.cc sp1f-sql_view.cc-20040715221517-nw4p4mja6nzzlvwwhzfgfqb4umxqobe4
per-file comments:
mysql-test/r/view_grant.result
Bug#37191: Test result.
mysql-test/t/view_grant.test
Bug#37191: Test case.
sql/sql_view.cc
Bug#37191: The fix + fixed incorrect indentation.
Attachment: [text/text/x-diff] patch-2661.diff
| Thread |
|---|
| • bzr commit into mysql-5.1 tree (mhansson:2661) Bug#37191 | Martin Hansson | 9 Jun |