Below is the list of changes that have just been committed into a local
5.1 repository of kostja. When kostja 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-04-14 17:05:41-04:00, kostja@vajra.(none) +1 -0
Fix rpl_trigger.test failure in the runtime tree.
sql/sql_trigger.cc@stripped, 2007-04-14 17:05:37-04:00, kostja@vajra.(none) +3 -2
Fix a failure of rpl_trigger.test: triggers are not SUID on
replication slaves.
# 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: kostja
# Host: vajra.(none)
# Root: /opt/local/work/mysql-5.1-c1
--- 1.88/sql/sql_trigger.cc 2007-04-13 16:35:53 -04:00
+++ 1.89/sql/sql_trigger.cc 2007-04-14 17:05:37 -04:00
@@ -1544,10 +1544,11 @@
}
#ifndef NO_EMBEDDED_ACCESS_CHECKS
Security_context *sctx= &sp_trigger->m_security_ctx;
- Security_context *save_ctx;
+ Security_context *save_ctx= NULL;
- if (sctx->change_security_context(thd,
+ if (sp_trigger->m_chistics->suid != SP_IS_NOT_SUID &&
+ sctx->change_security_context(thd,
&sp_trigger->m_definer_user,
&sp_trigger->m_definer_host,
&sp_trigger->m_db,
| Thread |
|---|
| • bk commit into 5.1 tree (kostja:1.2565) | konstantin | 14 Apr |