diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-12-16 12:12:01 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-12-21 21:30:46 +0100 |
commit | ad5db17e882fea36dcae6f6e61996b5f9bf28962 (patch) | |
tree | 06fa978199bd8fb09874de989984381e28bb4715 /sql/sql_trigger.h | |
parent | de7636e1470848bb5d92437b7c6c7b9c4d6caedc (diff) | |
download | mariadb-git-ad5db17e882fea36dcae6f6e61996b5f9bf28962.tar.gz |
cleanup
* move common code to a new set_bad_null_error() function
* move repeated comparison out of the loop
* remove unused code
* unused method Table_triggers_list::set_table
* redundant condition (if (table) after table was dereferenced)
* add an assert
Diffstat (limited to 'sql/sql_trigger.h')
-rw-r--r-- | sql/sql_trigger.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_trigger.h b/sql/sql_trigger.h index 7dfe8939945..1885720bf8b 100644 --- a/sql/sql_trigger.h +++ b/sql/sql_trigger.h @@ -197,8 +197,6 @@ public: bodies[TRG_EVENT_DELETE][TRG_ACTION_AFTER]); } - void set_table(TABLE *new_table); - void mark_fields_used(trg_event_type event); void set_parse_error_message(char *error_message); |