• unknown's avatar
    Ensure that privileges are tested properly for multi-table-updates. · 313761cb
    unknown authored
    Now one need only SELECT privilege for tables that are only read in
    UPDATE statements with many tables. (Bug #2377).
    
    
    sql/sql_acl.cc:
      Comment cleanup
    sql/sql_parse.cc:
      Merged duplicate code.
      Removed some outdated 'tables->db' tests.
      Check privileges for multi-updates properly (Bug #2377)
    sql/sql_show.cc:
      Remove disabled code
    sql/sql_update.cc:
      Ensure that privileges are tested properly for multi-table-updates
    tests/grant.pl:
      Added more tests
    tests/grant.res:
      updated results
    313761cb
sql_parse.cc 109 KB