Commit c437497e authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-22166 fixup: Undefined reference to WFRM_WRITE_EXTRACTED

It turns out that WFRM_WRITE_EXTRACTED was added only in a debug
assertion and in a comment, as part of
commit b7bba721.
parent 91fe87c7
......@@ -708,8 +708,8 @@ uint build_table_shadow_filename(char *buff, size_t bufflen,
/*
TODO: Partitioning atomic DDL refactoring: WFRM_WRITE_SHADOW and
WFRM_WRITE_EXTRACTED should be merged with create_table_impl(frm_only == true).
TODO: Partitioning atomic DDL refactoring: WFRM_WRITE_SHADOW
should be merged with create_table_impl(frm_only == true).
*/
bool mysql_write_frm(ALTER_PARTITION_PARAM_TYPE *lpt, uint flags)
{
......@@ -872,7 +872,6 @@ bool mysql_write_frm(ALTER_PARTITION_PARAM_TYPE *lpt, uint flags)
CHF_RENAME_FLAG))
DBUG_RETURN(TRUE);
}
DBUG_ASSERT(!(flags & WFRM_WRITE_EXTRACTED));
#else /* !WITH_PARTITION_STORAGE_ENGINE */
DBUG_ASSERT(!(flags & WFRM_BACKUP_ORIGINAL));
#endif /* !WITH_PARTITION_STORAGE_ENGINE */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment