summaryrefslogtreecommitdiff
path: root/storage/innobase/row/row0vers.cc
diff options
context:
space:
mode:
authorThirunarayanan Balathandayuthapani <thiru@mariadb.com>2018-07-25 13:56:39 +0530
committerThirunarayanan Balathandayuthapani <thiru@mariadb.com>2018-07-25 13:56:39 +0530
commitde85355436e483902e0fff432348bc16f9ec1557 (patch)
tree301d9c0bb381f39b9d0a238b5d66b503fd2d67e2 /storage/innobase/row/row0vers.cc
parent969939e89c29bb3f3d91f8b4ab539601b5daa4d8 (diff)
downloadmariadb-git-de85355436e483902e0fff432348bc16f9ec1557.tar.gz
MDEV-16713 Hangs server with repeating log entry
At most one transaction can be active at a time for temporary tables. There is no need to check previous version of record for the temporary tables.
Diffstat (limited to 'storage/innobase/row/row0vers.cc')
-rw-r--r--storage/innobase/row/row0vers.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/innobase/row/row0vers.cc b/storage/innobase/row/row0vers.cc
index f58f0a47bd5..24acd04c84b 100644
--- a/storage/innobase/row/row0vers.cc
+++ b/storage/innobase/row/row0vers.cc
@@ -114,6 +114,8 @@ row_vers_impl_x_locked_low(
trx_id = row_get_rec_trx_id(clust_rec, clust_index, clust_offsets);
corrupt = FALSE;
+ ut_ad(!dict_table_is_temporary(clust_index->table));
+
trx_t* trx = trx_rw_is_active(trx_id, &corrupt, true);
if (trx == 0) {