diff options
-rw-r--r-- | sql/ha_heap.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_heap.cc b/sql/ha_heap.cc index 9ebc5aecde2..bf807407df1 100644 --- a/sql/ha_heap.cc +++ b/sql/ha_heap.cc @@ -129,8 +129,8 @@ handler *ha_heap::clone(MEM_ROOT *mem_root) handler *new_handler= get_new_handler(table, mem_root, table->s->db_type); if (new_handler && !new_handler->ha_open(file->s->name, table->db_stat, HA_OPEN_IGNORE_IF_LOCKED)) - return new_handler; /* purecov: inspected */ - return NULL; + return new_handler; + return NULL; /* purecov: inspected */ } |