diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-11-09 08:50:33 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-11-09 08:50:33 +0200 |
commit | 9c18b9660302a76a6ff9bd505888048a13586a4c (patch) | |
tree | 8f0cd57e97ccca5f633825863e9e0f8e705ed8ff /sql/ha_partition.cc | |
parent | d8d6e995282dd9485f65517efbb684eabaf52322 (diff) | |
parent | 47ab793d71f2755b026672e4657174a1740b6ae2 (diff) | |
download | mariadb-git-9c18b9660302a76a6ff9bd505888048a13586a4c.tar.gz |
Merge 10.4 into 10.5
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index 6b82bc811aa..2c6233a6837 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -11051,11 +11051,8 @@ int ha_partition::check_misplaced_rows(uint read_part_id, bool do_repair) read_part_id != m_part_info->vers_info->now_part->id && !m_part_info->vers_info->interval.is_set()) { - print_admin_msg(ha_thd(), MYSQL_ERRMSG_SIZE, "note", - table_share->db.str, table->alias, - opt_op_name[CHECK_PARTS], - "Not supported for non-INTERVAL history partitions"); - DBUG_RETURN(HA_ADMIN_NOT_IMPLEMENTED); + /* Skip this check as it is not supported for non-INTERVAL history partitions. */ + DBUG_RETURN(HA_ADMIN_OK); } if (do_repair) |