mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.1
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1
This commit is contained in:
commit
aac5f57b4d
1 changed files with 3 additions and 1 deletions
|
@ -2600,7 +2600,9 @@ unsent_create_error:
|
|||
check_access(thd, SELECT_ACL | EXTRA_ACL, tables->db,
|
||||
&tables->grant.privilege,0,0))
|
||||
goto error;
|
||||
res = mysqld_show_create(thd, tables);
|
||||
if (grant_option && check_grant(thd, SELECT_ACL, tables, 2, UINT_MAX, 0))
|
||||
goto error;
|
||||
res= mysqld_show_create(thd, tables);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue