Commit 652e1c2f authored by unknown's avatar unknown

Mark deadcode for gcov

parent e9609a4b
...@@ -129,7 +129,7 @@ handler *ha_heap::clone(MEM_ROOT *mem_root) ...@@ -129,7 +129,7 @@ handler *ha_heap::clone(MEM_ROOT *mem_root)
handler *new_handler= get_new_handler(table, mem_root, table->s->db_type); 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, if (new_handler && !new_handler->ha_open(file->s->name, table->db_stat,
HA_OPEN_IGNORE_IF_LOCKED)) HA_OPEN_IGNORE_IF_LOCKED))
return new_handler; return new_handler; /* purecov: inspected */
return NULL; return NULL;
} }
......
...@@ -1138,9 +1138,9 @@ int QUICK_RANGE_SELECT::init_ror_merged_scan(bool reuse_handler) ...@@ -1138,9 +1138,9 @@ int QUICK_RANGE_SELECT::init_ror_merged_scan(bool reuse_handler)
the storage engine calls in question happen to never fail with the the storage engine calls in question happen to never fail with the
existing storage engines. existing storage engines.
*/ */
thd->net.report_error= 1; thd->net.report_error= 1; /* purecov: inspected */
/* Caller will free the memory */ /* Caller will free the memory */
goto failure; goto failure; /* purecov: inspected */
} }
if (file->external_lock(thd, F_RDLCK)) if (file->external_lock(thd, F_RDLCK))
goto failure; goto failure;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment