diff options
author | pem@mysql.comhem.se <> | 2004-10-14 18:07:09 +0200 |
---|---|---|
committer | pem@mysql.comhem.se <> | 2004-10-14 18:07:09 +0200 |
commit | 4043c0f3dba2070f2b53568dace8fa6091d66ba0 (patch) | |
tree | 60fbcabd11aa23d99818bc782b6d0eedaf744703 /sql/sp_head.cc | |
parent | 7f55e8eab2ea3494a132f335b6660f1c8f353b6e (diff) | |
download | mariadb-git-4043c0f3dba2070f2b53568dace8fa6091d66ba0.tar.gz |
Implemented the stored procedure data access characteristics:
NO SQL
CONTAINS SQL (default)
READS SQL DATA
MODIFIES SQL DATA
These are needed as hints for the replication.
(Before this, we did have the default in the mysql.proc table, but no support in the parser.)
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r-- | sql/sp_head.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc index 6a17bc189c3..82f8e88d889 100644 --- a/sql/sp_head.cc +++ b/sql/sp_head.cc @@ -1815,7 +1815,7 @@ sp_instr_error::print(String *str) void sp_change_security_context(THD *thd, sp_head *sp, st_sp_security_context *ctxp) { - ctxp->changed= (sp->m_chistics->suid != IS_NOT_SUID && + ctxp->changed= (sp->m_chistics->suid != SP_IS_NOT_SUID && (strcmp(sp->m_definer_user.str, thd->priv_user) || strcmp(sp->m_definer_host.str, thd->priv_host))); |