Commit 3b2e1b23 authored by marko's avatar marko

branches/zip: row_undo_mod(): Eliminate a local variable.

parent e4d814ff
...@@ -734,7 +734,6 @@ row_undo_mod( ...@@ -734,7 +734,6 @@ row_undo_mod(
undo_node_t* node, /* in: row undo node */ undo_node_t* node, /* in: row undo node */
que_thr_t* thr) /* in: query thread */ que_thr_t* thr) /* in: query thread */
{ {
ibool found;
ulint err; ulint err;
ut_ad(node && thr); ut_ad(node && thr);
...@@ -742,13 +741,7 @@ row_undo_mod( ...@@ -742,13 +741,7 @@ row_undo_mod(
row_undo_mod_parse_undo_rec(node, thr); row_undo_mod_parse_undo_rec(node, thr);
if (node->table == NULL) { if (!node->table || !row_undo_search_clust_to_pcur(node)) {
found = FALSE;
} else {
found = row_undo_search_clust_to_pcur(node);
}
if (!found) {
/* It is already undone, or will be undone by another query /* It is already undone, or will be undone by another query
thread, or table was dropped */ thread, or table was dropped */
......
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