Bug #9838 | INFORMATION_SCHEMA.COLUMNS columns of granted views missing | ||
---|---|---|---|
Submitted: | 12 Apr 2005 10:42 | Modified: | 19 May 2005 0:37 |
Reporter: | Matthias Leich | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0 | OS: | |
Assigned to: | Sergei Glukhov | CPU Architecture: | Any |
[12 Apr 2005 10:42]
Matthias Leich
[12 Apr 2005 10:44]
Matthias Leich
Test case with comments and variations of the problem
Attachment: ml66.test (application/test, text), 1.68 KiB.
[20 Apr 2005 10:58]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/24166
[21 Apr 2005 16:36]
Matthias Leich
Hi, I checked the patch today. The behaviour of the NIST tests changed a bit. Now I get a bigger row count (that means number of columns). But the problem within my test case file is not solved. SELECT * FROM testdb.v1; f1 <empty result> # That means I am allowed to select on the view. DESCRIBE testdb.v1; Field Type Null Key Default Extra f1 bigint(20) YES NULL # That means I get informations about the columns. SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'testdb' AND TABLE_NAME= 'v1'; # Here I get only the heading of the table but no rows. This is totally inconsistent. If I have the right to SELECT on a view + describe shows me informations, I must be able to get similar informations via SELECT ... FROM INFORMATION_SCHEMA.COLUMNS.
[26 Apr 2005 12:21]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/24313
[29 Apr 2005 7:25]
Per-Erik Martin
Approved with the addtion of Matthia's second test case.
[7 May 2005 8:58]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/24655
[7 May 2005 9:00]
Sergei Glukhov
Fixed in 5.0.6 tree
[19 May 2005 0:37]
Paul DuBois
Noted in 5.0.6 changelog.