Bug #36316 | Inconsistent behavior of views on information_schema tables | ||
---|---|---|---|
Submitted: | 24 Apr 2008 13:59 | Modified: | 4 Jun 2008 15:24 |
Reporter: | Deborah Van Vlack | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Information schema | Severity: | S3 (Non-critical) |
Version: | 5.0.26Max, 5.0.41 | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | information_schema, VIEW |
[24 Apr 2008 13:59]
Deborah Van Vlack
[24 Apr 2008 14:03]
Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version, 5.0.51a, and inform about the results.
[24 Apr 2008 15:29]
Deborah Van Vlack
The newest version of MySQL that I have access to is 5.0.41 community running on Windows XP Professional 2002, SP2. The issue is reproducible in 5.0.41 when I access the instance using an ID that has been granted all permissions on MYDB at the schema level. The root user does not have this issue in 5.0.41. My guess would be that this issue is related to permissions for the limited user ID. However, if the limited user ID can create the view as "select *" I don't think it should be prevented from creating a view using the fully qualified column names equivalent to "select *" or a limited subset of columns.
[25 Apr 2008 4:42]
Sveta Smirnova
Thank you for the feedback. Please provide output of SHOW GRANTS FOR `myID`@`%`;
[25 Apr 2008 12:27]
Deborah Van Vlack
In the 5.0.26 version on Linux, myID has the following privileges: 'GRANT USAGE ON *.* TO 'myID'@'%' IDENTIFIED BY PASSWORD '*0AC10D0E02DDDEE2400A6DB12CAFD104863A6C02'' GRANT ALL PRIVILEGES ON `MYDB`.* TO 'myID'@'%' GRANT SELECT, INSERT, UPDATE, DELETE, CREATE VIEW ON `MY-WEB-D`.* TO 'myID'@'%' as well as GRANT ALL PRIVILEGES on many other databases on this instance In the 5.0.41 version on Windows, myID has the following privileges: GRANT USAGE ON *.* TO 'myID'@'%' IDENTIFIED BY PASSWORD '*D98CD257A1E2246DBC8639DF49FACD77BEB7F723' GRANT ALL PRIVILEGES ON `test`.* TO 'myID'@'%' WITH GRANT OPTION
[28 Apr 2008 18:49]
Sveta Smirnova
Thank you for the feedback. Please upgrade to current verison 5.0.51b and try with it as I can not repeat described behavior with current development version and rights you provided for version 5.0.41
[29 Apr 2008 20:37]
Deborah Van Vlack
Sorry - I'm not in a position to do that. I don't have the privileges to upgrade MySQL to version 5.0.51b, and would need more justification than testing for a bug that doesn't materially affect our use of the software.
[4 Jun 2008 15:24]
Susanne Ebrecht
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at http://dev.mysql.com/doc/en/installing-source.html