mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
cleanup: make dd_frm_type to work as documented
remove redundant argument, return all possible enum values
This commit is contained in:
@@ -3793,8 +3793,7 @@ bool Rdb_validate_tbls::check_frm_file(const std::string &fullpath,
|
||||
*/
|
||||
char eng_type_buf[NAME_CHAR_LEN+1];
|
||||
LEX_CSTRING eng_type_str = {eng_type_buf, 0};
|
||||
bool is_sequence;
|
||||
enum Table_type type = dd_frm_type(nullptr, fullfilename.c_ptr(), &eng_type_str, &is_sequence);
|
||||
enum Table_type type = dd_frm_type(nullptr, fullfilename.c_ptr(), &eng_type_str);
|
||||
if (type == TABLE_TYPE_UNKNOWN) {
|
||||
// NO_LINT_DEBUG
|
||||
sql_print_warning("RocksDB: Failed to open/read .from file: %s",
|
||||
|
Reference in New Issue
Block a user