Below is the list of changes that have just been committed into a local
5.0 repository of elkin. When elkin does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2007-03-24 14:14:46+02:00, aelkin@andrepl.(none) +1 -0
Merge aelkin@stripped:/home/bk/mysql-5.0-marvel
into andrepl.(none):/home/elkin/MySQL/MAIN/5.0-marvel-bug23333_sf_side_eff_binlog
MERGE: 1.2489.1.1
sql/sql_parse.cc@stripped, 2007-03-24 14:14:43+02:00, aelkin@andrepl.(none) +0 -0
Auto merged
MERGE: 1.612.1.1
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: aelkin
# Host: andrepl.(none)
# Root: /home/elkin/MySQL/MAIN/5.0-marvel-bug23333_sf_side_eff_binlog/RESYNC
--- 1.613/sql/sql_parse.cc 2007-03-23 17:12:56 +02:00
+++ 1.614/sql/sql_parse.cc 2007-03-24 14:14:43 +02:00
@@ -5164,7 +5164,10 @@ bool check_single_table_access(THD *thd,
goto deny;
/* Show only 1 table for check_grant */
- if (grant_option && check_grant(thd, privilege, all_tables, 0, 1, 0))
+ if (grant_option &&
+ !(all_tables->belong_to_view &&
+ (thd->lex->sql_command == SQLCOM_SHOW_FIELDS)) &&
+ check_grant(thd, privilege, all_tables, 0, 1, 0))
goto deny;
thd->security_ctx= backup_ctx;
| Thread |
|---|
| • bk commit into 5.0 tree (aelkin:1.2491) | Andrei Elkin | 24 Mar |