![]() |
MySQL 8.0.44
Source Code Documentation
|
Class to handle loading and parsing of Triggers. More...
Static Public Member Functions | |
| static bool | trg_file_exists (const char *db_name, const char *table_name) |
| Check if the TRG-file for the given table exists. More... | |
| static bool | load_triggers (THD *thd, MEM_ROOT *mem_root, const char *db_name, const char *table_name, List<::Trigger > *triggers) |
| Load table triggers from .TRG file. More... | |
Class to handle loading and parsing of Triggers.
This class is nececssary for loading triggers in case of upgrade from 5.7
|
static |
Load table triggers from .TRG file.
| [in] | thd | thread handle |
| [in] | mem_root | MEM_ROOT pointer |
| [in] | db_name | name of schema |
| [in] | table_name | subject table name |
| [out] | triggers | pointer to the list where new Trigger objects will be inserted |
| true | Failure |
| false | Success |
|
static |
Check if the TRG-file for the given table exists.
| db_name | name of schema |
| table_name | name of trigger |