From 9e30c671f43743e1af2992d95e29d9bfd55152ce Mon Sep 17 00:00:00 2001 From: Aleksey Midenkov Date: Thu, 23 Dec 2021 19:25:56 +0300 Subject: Tmp --- sql/ha_partition.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index 2f945f29ed1..9bbeec8b458 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -4086,7 +4086,8 @@ int ha_partition::start_stmt(THD *thd, thr_lock_type lock_type) /* Add partition to be called in reset(). */ bitmap_set_bit(&m_partitions_to_reset, i); } - // FIXME: check error? + if (error) + DBUG_RETURN(error); switch (lock_type) { case TL_WRITE_ALLOW_WRITE: -- cgit v1.2.1