diff options
author | unknown <anozdrin@mysql.com> | 2006-02-08 12:54:54 +0300 |
---|---|---|
committer | unknown <anozdrin@mysql.com> | 2006-02-08 12:54:54 +0300 |
commit | 8ca4bf96506fdcb6b35bb0a86c24471b44cb4924 (patch) | |
tree | 0be908f539000eaeb91709e0fb928e89d6aa4b69 /sql/sql_trigger.cc | |
parent | 0617893dc65a71c9072004355c7e35f4f714cecb (diff) | |
download | mariadb-git-8ca4bf96506fdcb6b35bb0a86c24471b44cb4924.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.
sql/sql_trigger.cc:
Fix typo: we should have used LEX_STRING::str instead of LEX_STRING.
Diffstat (limited to 'sql/sql_trigger.cc')
-rw-r--r-- | sql/sql_trigger.cc | 2 |
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; |