diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2021-12-23 19:25:56 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2021-12-23 19:25:56 +0300 |
commit | 9e30c671f43743e1af2992d95e29d9bfd55152ce (patch) | |
tree | d19226b9d95e268958d0b27874eb6304ba27f23d | |
parent | ef70e809a40d67fee789b354689f8123324eac4f (diff) | |
download | mariadb-git-bb-10.3-midenok-tmp.tar.gz |
-rw-r--r-- | sql/ha_partition.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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: |