mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Bug fix for complicated GROUP BY ... ORDER BY query.
Fixed problem in access rights testing (from last patch) mysql-test/r/group_by.result: Condenced GROUP test case mysql-test/t/group_by.test: Condenced GROUP test case sql/sql_parse.cc: Fixed problem in access rights testing (from last patch) sql/sql_select.cc: Rollback Sinisa's GROUP BY patch and make a better one.
This commit is contained in:
@ -2565,7 +2565,7 @@ check_table_access(THD *thd,uint want_access,TABLE_LIST *tables,
|
||||
}
|
||||
}
|
||||
else if (check_access(thd,want_access,tables->db,&tables->grant.privilege,
|
||||
0, no_errors | grant_option))
|
||||
0, no_errors))
|
||||
return TRUE;
|
||||
}
|
||||
if (grant_option)
|
||||
|
Reference in New Issue
Block a user