1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00
* 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
This commit is contained in:
Sergei Golubchik
2015-12-16 12:12:01 +01:00
parent de7636e147
commit ad5db17e88
8 changed files with 43 additions and 67 deletions

View File

@ -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);