Skip to content

Commit c437497

Browse files
committed
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 b7bba72.
1 parent 91fe87c commit c437497

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sql/sql_table.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -708,8 +708,8 @@ uint build_table_shadow_filename(char *buff, size_t bufflen,
708708

709709

710710
/*
711-
TODO: Partitioning atomic DDL refactoring: WFRM_WRITE_SHADOW and
712-
WFRM_WRITE_EXTRACTED should be merged with create_table_impl(frm_only == true).
711+
TODO: Partitioning atomic DDL refactoring: WFRM_WRITE_SHADOW
712+
should be merged with create_table_impl(frm_only == true).
713713
*/
714714
bool mysql_write_frm(ALTER_PARTITION_PARAM_TYPE *lpt, uint flags)
715715
{
@@ -872,7 +872,6 @@ bool mysql_write_frm(ALTER_PARTITION_PARAM_TYPE *lpt, uint flags)
872872
CHF_RENAME_FLAG))
873873
DBUG_RETURN(TRUE);
874874
}
875-
DBUG_ASSERT(!(flags & WFRM_WRITE_EXTRACTED));
876875
#else /* !WITH_PARTITION_STORAGE_ENGINE */
877876
DBUG_ASSERT(!(flags & WFRM_BACKUP_ORIGINAL));
878877
#endif /* !WITH_PARTITION_STORAGE_ENGINE */

0 commit comments

Comments
 (0)