1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Two small bug fixes ...

This commit is contained in:
Sinisa@sinisa.nasamreza.org
2002-08-03 15:59:41 +03:00
parent 8ada408704
commit 1ac7e54b73
3 changed files with 6 additions and 1 deletions

View File

@ -50070,6 +50070,10 @@ Our TODO section contains what we plan to have in 4.0. @xref{TODO MySQL 4.0}.
@itemize @bullet
@item
Fixed bug in REVOKE that caused user resources to be randomly set
@item
Fixed bug with a new GRANT on TEMP TABLES
@item
Fixed bug in multi-table delete when tables are re-ordered in table
initialization method and ref_length's are of different sizes
@item

View File

@ -1469,7 +1469,7 @@ mysql_execute_command(void)
(TABLE_LIST *)
lex->create_info.merge_list.first))
goto error; /* purecov: inspected */
if (grant_option)
if (grant_option && want_priv != CREATE_TMP_ACL)
{
/* Check that the first table has CREATE privilege */
TABLE_LIST *tmp_table_list=tables->next;

View File

@ -3445,6 +3445,7 @@ revoke:
lex->columns.empty();
lex->grant= lex->grant_tot_col=0;
lex->select->db=0;
bzero(&(lex->mqh),sizeof(lex->mqh));
}
grant_privileges ON opt_table FROM user_list;