mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for BUG#17180: Failure in trigger-grant on Solaris.
The problem is that LEX_STRING was used instead of LEX_STRING::str.
This commit is contained in:
@ -1183,7 +1183,7 @@ bool Table_triggers_list::process_triggers(THD *thd, trg_event_type event,
|
|||||||
|
|
||||||
my_error(ER_TABLEACCESS_DENIED_ERROR, MYF(0), priv_desc,
|
my_error(ER_TABLEACCESS_DENIED_ERROR, MYF(0), priv_desc,
|
||||||
thd->security_ctx->priv_user, thd->security_ctx->host_or_ip,
|
thd->security_ctx->priv_user, thd->security_ctx->host_or_ip,
|
||||||
table->s->table_name);
|
table->s->table_name.str);
|
||||||
|
|
||||||
sp_restore_security_context(thd, save_ctx);
|
sp_restore_security_context(thd, save_ctx);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Reference in New Issue
Block a user