• unknown's avatar
    Fix for BUG#24040: Create View don't succed with "all privileges" · b444f808
    unknown authored
    on a database.
    
    The problem was that we required not less privileges on the base tables
    than we have on the view.
    
    The fix is to be more flexible and allow to create such a view (necessary
    privileges will be checked at the runtime).
    
    
    mysql-test/r/view_grant.result:
      Updated result file.
    mysql-test/t/view_grant.test:
      Added test case for BUG#24040 (Create View don't succed with
      "all privileges" on a database).
    sql/sql_view.cc:
      Implement flexible privilege check for CREATE VIEW.
    b444f808
view_grant.test 29.5 KB