summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--innobase/row/row0vers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/innobase/row/row0vers.c b/innobase/row/row0vers.c
index 1e9cef4c726..d4a463d8a96 100644
--- a/innobase/row/row0vers.c
+++ b/innobase/row/row0vers.c
@@ -88,6 +88,7 @@ row_vers_impl_x_locked_off_kernel(
a rollback we always undo the modifications to secondary index
records before the clustered index record. */
+ mutex_enter(&kernel_mutex);
mtr_commit(&mtr);
return(NULL);