summaryrefslogtreecommitdiff
path: root/storage/innobase/trx/trx0rec.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-11-26 07:36:53 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2020-11-26 07:36:53 +0200
commit8b8969929d741aac667dcd1780c2264785c8a114 (patch)
treed239edad28ac404ed780b3f1b81ca466daed551c /storage/innobase/trx/trx0rec.cc
parent581aebe29f19aaf767ba5f0ac69f8f199eb80dff (diff)
parent657fcdf430f39a3103dff51a6a2b2bd3a090a498 (diff)
downloadmariadb-git-bb-10.3-mdev21265.tar.gz
Diffstat (limited to 'storage/innobase/trx/trx0rec.cc')
-rw-r--r--storage/innobase/trx/trx0rec.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/trx/trx0rec.cc b/storage/innobase/trx/trx0rec.cc
index 83942891357..e006258c447 100644
--- a/storage/innobase/trx/trx0rec.cc
+++ b/storage/innobase/trx/trx0rec.cc
@@ -2452,7 +2452,7 @@ trx_undo_prev_version_build(
== rec_get_nth_field_size(rec, n));
ulint l = rec_get_1byte_offs_flag(*old_vers)
? (n + 1) : (n + 1) * 2;
- (*old_vers)[-REC_N_OLD_EXTRA_BYTES - l]
+ *(*old_vers - REC_N_OLD_EXTRA_BYTES - l)
&= byte(~REC_1BYTE_SQL_NULL_MASK);
}
}