Skip to content
Permalink
Browse files
row_purge_parse_undo_rec(): Deduplicate some code
  • Loading branch information
dr-m committed Sep 7, 2018
1 parent 68466bb commit 9f6a0d2
Showing 1 changed file with 2 additions and 3 deletions.
@@ -1000,9 +1000,7 @@ row_purge_parse_undo_rec(
ut_ad(!dict_table_is_temporary(node->table));

if (!fil_table_accessible(node->table)) {
dict_table_close(node->table, FALSE, FALSE);
node->table = NULL;
goto err_exit;
goto close_exit;
}

if (node->table->n_v_cols && !node->table->vc_templ
@@ -1031,6 +1029,7 @@ row_purge_parse_undo_rec(
we do not have an index to call it with. */
close_exit:
dict_table_close(node->table, FALSE, FALSE);
node->table = NULL;
err_exit:
rw_lock_s_unlock(dict_operation_lock);
return(false);

0 comments on commit 9f6a0d2

Please sign in to comment.