summaryrefslogtreecommitdiff
path: root/sql/sql_trigger.cc
diff options
context:
space:
mode:
authoranozdrin@mysql.com <>2006-02-08 12:54:54 +0300
committeranozdrin@mysql.com <>2006-02-08 12:54:54 +0300
commit66e1e8d4a6a9b22f26284da92bc1cee99d50e90c (patch)
tree0be908f539000eaeb91709e0fb928e89d6aa4b69 /sql/sql_trigger.cc
parente24336b0c84a9b8a0a9c9e2d9f0a4a4855a28366 (diff)
downloadmariadb-git-66e1e8d4a6a9b22f26284da92bc1cee99d50e90c.tar.gz
Fix for BUG#17180: Failure in trigger-grant on Solaris.
The problem is that LEX_STRING was used instead of LEX_STRING::str.
Diffstat (limited to 'sql/sql_trigger.cc')
-rw-r--r--sql/sql_trigger.cc2
1 files changed, 1 insertions, 1 deletions
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;