mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-18465 Logging of DDL statements during backup
Many of the changes was needed to be able to collect and print engine name and table version id's in the ddl log.
This commit is contained in:
@ -1724,7 +1724,8 @@ int plugin_init(int *argc, char **argv, int flags)
|
||||
{
|
||||
char path[FN_REFLEN + 1];
|
||||
build_table_filename(path, sizeof(path) - 1, "mysql", "plugin", reg_ext, 0);
|
||||
Table_type ttype= dd_frm_type(0, path, &plugin_table_engine_name);
|
||||
Table_type ttype= dd_frm_type(0, path, &plugin_table_engine_name,
|
||||
NULL, NULL);
|
||||
if (ttype != TABLE_TYPE_NORMAL)
|
||||
plugin_table_engine_name=empty_clex_str;
|
||||
}
|
||||
|
Reference in New Issue
Block a user