summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2022-10-04 11:42:37 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2022-10-04 11:42:37 +0200
commit2f70784c2aff3bcf67f89f4d8cd121e8f8c3355f (patch)
treefaaec8693d4aa4ba3a71c11a6143fc8d08d1fa95 /sql/sp_head.cc
parent4345d9310080e6e4cbf1040263a2653f7d3d9227 (diff)
parentb6ebadaa66ee68b1880c0e10669543d1ba058c18 (diff)
downloadmariadb-git-2f70784c2aff3bcf67f89f4d8cd121e8f8c3355f.tar.gz
Merge branch '10.7' into 10.8
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 37e7fffcdf7..5c7b18a12d4 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -1903,7 +1903,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);