diff options
Diffstat (limited to 'storage/innobase/trx/trx0rec.cc')
-rw-r--r-- | storage/innobase/trx/trx0rec.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/storage/innobase/trx/trx0rec.cc b/storage/innobase/trx/trx0rec.cc index 3be07e0d39d..4136dd5e327 100644 --- a/storage/innobase/trx/trx0rec.cc +++ b/storage/innobase/trx/trx0rec.cc @@ -2473,7 +2473,10 @@ trx_undo_prev_version_build( entry = row_rec_to_index_entry( rec, index, offsets, &n_ext, heap); - n_ext += btr_push_update_extern_fields(entry, update, heap); + if (index->is_primary()) { + n_ext += btr_push_update_extern_fields( + entry, entry->n_fields, update, heap); + } /* The page containing the clustered index record corresponding to entry is latched in mtr. Thus the following call is safe. */ |