From 66e1e8d4a6a9b22f26284da92bc1cee99d50e90c Mon Sep 17 00:00:00 2001 From: "anozdrin@mysql.com" <> Date: Wed, 8 Feb 2006 12:54:54 +0300 Subject: Fix for BUG#17180: Failure in trigger-grant on Solaris. The problem is that LEX_STRING was used instead of LEX_STRING::str. --- sql/sql_trigger.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_trigger.cc') diff --git a/sql/sql_trigger.cc b/sql/sql_trigger.cc index f653033b9cb..569e5e041c6 100644 --- a/sql/sql_trigger.cc +++ b/sql/sql_trigger.cc @@ -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, 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); return TRUE; -- cgit v1.2.1