mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 09:14:17 +01:00
Non partitioned table could be marked as partitioned in ddl.log
partion_engine_name was not reset when looping over tables in mysql_rm_table_no_locks. This could cause maria_backup to think that at normal droped table was partitioned. This issue was discovered in 11.8 as part of atomic created and replace and only the fix was backported.
This commit is contained in:
parent
c05e7c4e0e
commit
fa74c1a40f
1 changed files with 1 additions and 1 deletions
|
@ -1176,7 +1176,6 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables,
|
|||
char path[FN_REFLEN + 1];
|
||||
LEX_CSTRING alias= null_clex_str;
|
||||
LEX_CUSTRING version;
|
||||
LEX_CSTRING partition_engine_name= {NULL, 0};
|
||||
StringBuffer<160> unknown_tables(system_charset_info);
|
||||
DDL_LOG_STATE local_ddl_log_state;
|
||||
const char *comment_start;
|
||||
|
@ -1263,6 +1262,7 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables,
|
|||
const LEX_CSTRING db= table->db;
|
||||
const LEX_CSTRING table_name= table->table_name;
|
||||
LEX_CSTRING cpath= {0,0};
|
||||
LEX_CSTRING partition_engine_name= {NULL, 0};
|
||||
handlerton *hton= 0;
|
||||
Table_type table_type;
|
||||
size_t path_length= 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue