diff options
author | unknown <gluh@mysql.com/eagle.(none)> | 2007-06-08 14:42:08 +0500 |
---|---|---|
committer | unknown <gluh@mysql.com/eagle.(none)> | 2007-06-08 14:42:08 +0500 |
commit | 5031a418e59ece8855ddf2bf34a457bc1df2ab5d (patch) | |
tree | 615ff6cce7cb76242b536c7c9655a4f11a397ffd /scripts/make_binary_distribution.sh | |
parent | 88d5c0146b78ddee5816fc256e9b2b0635df2445 (diff) | |
download | mariadb-git-5031a418e59ece8855ddf2bf34a457bc1df2ab5d.tar.gz |
Bug#18660 Can't grant any privileges on single table in database with underscore char
In case of database level grant the database name may be a pattern,
in case of table|column level grant the database name can not be a pattern.
We use 'dont_check_global_grants' as a flag to determine
if it's database level grant command
(see SQLCOM_GRANT case, mysql_execute_command() function) and
set db_is_pattern according to 'dont_check_global_grants' value.
mysql-test/r/grant2.result:
test result
mysql-test/t/grant2.test:
test case
sql/sql_parse.cc:
In case of database level grant the database name may be a pattern,
in case of table|column level grant the database name can not be a pattern.
We use 'dont_check_global_grants' as a flag to determine
if it's database level grant command
(see SQLCOM_GRANT case, mysql_execute_command() function) and
set db_is_pattern according to 'dont_check_global_grants' value.
Diffstat (limited to 'scripts/make_binary_distribution.sh')
0 files changed, 0 insertions, 0 deletions