summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2022-10-04 13:23:13 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2022-10-04 13:23:13 +0200
commit55e07d9ade51e9e969f528d903509806142f4d1e (patch)
tree7261b1dc07a0b7a5467e8ec22d676c48ae9324dd /sql/sp_head.cc
parent0333ddd3ec003225384507f30e65517d99c494b7 (diff)
parent2f70784c2aff3bcf67f89f4d8cd121e8f8c3355f (diff)
downloadmariadb-git-55e07d9ade51e9e969f528d903509806142f4d1e.tar.gz
Merge branch '10.8' into 10.9
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r--sql/sp_head.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index f224ac2297f..7e5ea9e6a96 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -1904,7 +1904,7 @@ sp_head::execute_trigger(THD *thd,
my_error(ER_TABLEACCESS_DENIED_ERROR, MYF(0), priv_desc,
thd->security_ctx->priv_user, thd->security_ctx->host_or_ip,
- table_name->str);
+ db_name->str, table_name->str);
m_security_ctx.restore_security_context(thd, save_ctx);
DBUG_RETURN(TRUE);