Sergei Golubchik
d0db4f2261
add Admin_option column to mysql.roles_mapping. update tests/results
2013-10-18 12:21:10 -07:00
Sergei Golubchik
7dda698734
rename columns in mysql.roles_mapping to be consistent with other privilege tables
2013-10-18 12:19:37 -07:00
Sergei Golubchik
b2f16628cf
support DEFINER=role and DEFINER=current_role
2013-10-18 12:17:49 -07:00
Sergei Golubchik
4cc8cda346
Remove the very old historical but never documented behavior,
...
than an empty host '' is the same as any-host wildcard '%'.
Replace '' with '%' in the parser (for GRANT ... foo@'') and when loading grant tables.
Side effect: one cannot have foo@'' and foo@'%' both at the same time
(but one can have foo@'%' and foo@'%%')
2013-10-18 11:38:13 -07:00
Sergei Golubchik
8993984342
CURRENT_ROLE() should return NULL, not "NONE"
2013-10-18 09:09:08 -07:00
Sergei Golubchik
8122996a59
CURRENT_ROLE() function
2013-10-18 06:55:26 -07:00
Vicențiu Ciorbaru
6f9d26f09f
Show grants now correctly prints procedure privileges.
2013-10-18 06:42:59 -07:00
Vicențiu Ciorbaru
d24ead2c6f
Various bug fixes.
...
Also updated tests to reflect new show grants functionality.
2013-10-18 06:34:27 -07:00
Vicențiu Ciorbaru
1bfc610dc7
Added show role grants functionality to the mysql_show_grants function.
2013-10-18 06:17:47 -07:00
Vicențiu Ciorbaru
9272e34a90
Minor test update to eliminate random row order.
2013-10-17 20:52:21 -07:00
Vicențiu Ciorbaru
00f4f408ea
Minor update on tests.
...
Fixed possible failing condition due to different order of table rows
2013-10-17 20:51:19 -07:00
Vicențiu Ciorbaru
68214d21a0
Fixed failing tests due to wrong delete in the testsuite.
2013-10-17 20:51:10 -07:00
Vicențiu Ciorbaru
b4f3ba2643
Added testcase to check that granting a role to a role works.
2013-10-17 20:50:24 -07:00