mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
cleanup: make dd_frm_type to work as documented
remove redundant argument, return all possible enum values
This commit is contained in:
@ -1720,8 +1720,7 @@ 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);
|
||||
bool dummy;
|
||||
Table_type ttype= dd_frm_type(0, path, &plugin_table_engine_name, &dummy);
|
||||
Table_type ttype= dd_frm_type(0, path, &plugin_table_engine_name);
|
||||
if (ttype != TABLE_TYPE_NORMAL)
|
||||
plugin_table_engine_name=empty_clex_str;
|
||||
}
|
||||
|
Reference in New Issue
Block a user