diff options
-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: |