• unknown's avatar
    Bug #17139: Partitions: unprivileged user can effectively drop table · 6668cb79
    unknown authored
    Now the DROP privilege is also required on a table in order to be able
    to drop a partition from the table using ALTER TABLE.
    
    
    sql/sql_parse.cc:
      Require DROP privilege in addition to ALTER for dropping a partition
    mysql-test/r/partition_grant.result:
      New BitKeeper file ``mysql-test/r/partition_grant.result''
    mysql-test/t/partition_grant.test:
      New BitKeeper file ``mysql-test/t/partition_grant.test''
    6668cb79
sql_parse.cc 218 KB