Commit 48b461a4 authored by unknown's avatar unknown

Style fix-up and comment correction.

parent a6df406f
...@@ -340,7 +340,7 @@ end: ...@@ -340,7 +340,7 @@ end:
tables - table list containing one open table for which the tables - table list containing one open table for which the
trigger is created. trigger is created.
stmt_query - [OUT] after successful return, this string contains stmt_query - [OUT] after successful return, this string contains
well-formed statement for creation this trigger. well-formed statement for creating this trigger.
NOTE NOTE
- Assumes that trigger name is fully qualified. - Assumes that trigger name is fully qualified.
...@@ -380,7 +380,7 @@ bool Table_triggers_list::create_trigger(THD *thd, TABLE_LIST *tables, ...@@ -380,7 +380,7 @@ bool Table_triggers_list::create_trigger(THD *thd, TABLE_LIST *tables,
} }
/* We don't allow creation of several triggers of the same type yet */ /* We don't allow creation of several triggers of the same type yet */
if (bodies[lex->trg_chistics.event][lex->trg_chistics.action_time]) if (bodies[lex->trg_chistics.event][lex->trg_chistics.action_time] != 0)
{ {
my_error(ER_NOT_SUPPORTED_YET, MYF(0), my_error(ER_NOT_SUPPORTED_YET, MYF(0),
"multiple triggers with the same action time" "multiple triggers with the same action time"
...@@ -673,7 +673,7 @@ static bool save_trigger_file(Table_triggers_list *triggers, const char *db, ...@@ -673,7 +673,7 @@ static bool save_trigger_file(Table_triggers_list *triggers, const char *db,
tables - table list containing one open table for which trigger tables - table list containing one open table for which trigger
is dropped. is dropped.
stmt_query - [OUT] after successful return, this string contains stmt_query - [OUT] after successful return, this string contains
well-formed statement for creation this trigger. well-formed statement for deleting this trigger.
RETURN VALUE RETURN VALUE
False - success False - success
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment