summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <heikki@donna.mysql.fi>2001-05-03 18:26:19 +0300
committerunknown <heikki@donna.mysql.fi>2001-05-03 18:26:19 +0300
commit045de0a546f9f4af1111b742a2fa4fd9f5973863 (patch)
treee03b1a925cf72d3892832a5afdfac8ab9bb85cdb
parenteef01ff262825f636fc0d8d6cbfdf503f909ab9c (diff)
downloadmariadb-git-045de0a546f9f4af1111b742a2fa4fd9f5973863.tar.gz
row0umod.c Partial fix to concurrent drop table and rollback by other user of rows in that table
row0uins.c Partial fix to concurrent drop table and rollback by other user of rows in that table innobase/row/row0uins.c: Partial fix to concurrent drop table and rollback by other user of rows in that table innobase/row/row0umod.c: Partial fix to concurrent drop table and rollback by other user of rows in that table
-rw-r--r--innobase/row/row0uins.c1
-rw-r--r--innobase/row/row0umod.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/innobase/row/row0uins.c b/innobase/row/row0uins.c
index 426eec0cd50..c9330318ac0 100644
--- a/innobase/row/row0uins.c
+++ b/innobase/row/row0uins.c
@@ -290,6 +290,7 @@ row_undo_ins(
}
if (!found) {
+ trx_undo_rec_release(node->trx, node->undo_no);
return(DB_SUCCESS);
}
diff --git a/innobase/row/row0umod.c b/innobase/row/row0umod.c
index 84e8d9ee5f5..70cf0fe5a32 100644
--- a/innobase/row/row0umod.c
+++ b/innobase/row/row0umod.c
@@ -589,6 +589,7 @@ row_undo_mod(
/* It is already undone, or will be undone by another query
thread, or table was dropped */
+ trx_undo_rec_release(node->trx, node->undo_no);
node->state = UNDO_NODE_FETCH_NEXT;
return(DB_SUCCESS);