• unknown's avatar
    Bug #23675 Partitions: possible security breach via alter · 93e11dce
    unknown authored
    now we return different error message if user doesn't have
    SELECT grants
    
    
    mysql-test/r/partition_grant.result:
      test result
    mysql-test/t/partition_grant.test:
      testcase
    sql/mysql_priv.h:
      no_errors parameter added to check_single_table_access()
    sql/partition_info.cc:
      access rights control added to the print_no_partition()
    sql/share/errmsg.txt:
      message added
    sql/sql_base.cc:
      no_errors parameter added to check_single_table_access()
    sql/sql_parse.cc:
      no_errors parameter added to check_single_table_access()
    93e11dce
partition_grant.result 1.54 KB