mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +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:
@@ -3793,7 +3793,8 @@ 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};
|
||||
enum Table_type type = dd_frm_type(nullptr, fullfilename.c_ptr(), &eng_type_str);
|
||||
enum Table_type type = dd_frm_type(nullptr, fullfilename.c_ptr(),
|
||||
&eng_type_str, nullptr, nullptr);
|
||||
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