• Georgi Kodinov's avatar
    Bug #41354: Access control is bypassed when all columns · a9d70703
    Georgi Kodinov authored
    of a view are selected by * wildcard
    
    Backported a part of the fix for 36086 to 5.0
    
    mysql-test/r/view_grant.result:
      Bug #41354: test case
    mysql-test/t/view_grant.test:
      Bug #41354: test case
    sql/sql_acl.cc:
      Bug #41354: return table error when no access and *
    sql/sql_base.cc:
      Bug #41354: backported the check in bug 36086 to 5.0
    a9d70703
sql_base.cc 198 KB