mariadb/storage
Marko Mäkelä 630199e724 MDEV-18981 Possible corruption when using FOREIGN KEY with virtual columns
row_ins_foreign_fill_virtual(): Construct update->old_vrow
with ROW_COPY_DATA instead of ROW_COPY_POINTERS. With the latter,
the object would be pointing to a buffer pool page frame. That page
frame can become stale and invalid as soon as
row_ins_foreign_check_on_constraint() invokes mtr_t::commit().

Most of the time, the pointer target is not going to be overwritten
by anything, and everything appears to work correctly.
Buffer pool page replacement is highly unlikely, and any pessimistic
operation that would overwrite the old location of the record is only
slightly more likely. It is not known whether there is an actual bug.
This came up while diagnosing MDEV-18879 in MariaDB 10.3.
2019-03-20 18:34:49 +02:00
..
archive Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
blackhole
cassandra
connect fix gcc 8 compiler warnings 2019-03-14 16:33:17 +01:00
csv Merge branch '10.0' into 10.1 2018-06-12 18:55:27 +03:00
example
federated Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
federatedx Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
heap Merge 10.1 into 10.2 2018-11-06 08:41:48 +02:00
innobase MDEV-18981 Possible corruption when using FOREIGN KEY with virtual columns 2019-03-20 18:34:49 +02:00
maria Merge branch '10.1' into 10.2 2019-03-15 21:00:41 +01:00
mroonga post-merge: gcc 8 warnings 2019-03-15 21:00:50 +01:00
myisam Merge branch '10.1' into 10.2 2019-03-15 21:00:41 +01:00
myisammrg Merge branch '10.1' into 10.2 2019-03-15 21:00:41 +01:00
oqgraph Merge 10.1 into 10.2 2018-04-24 09:39:45 +03:00
perfschema Merge 10.1 into 10.2 2018-11-06 08:41:48 +02:00
rocksdb post-merge: gcc 8 warnings 2019-03-15 21:00:50 +01:00
sequence Merge branch '10.1' into 10.2 2019-03-15 21:00:41 +01:00
sphinx MDEV-16544 - crash in ha_sphinx::create() 2018-08-04 22:53:16 +01:00
spider fixed auto-merge gone bad 2018-09-24 20:37:22 +02:00
test_sql_discovery
tokudb Merge 10.1 into 10.2 2019-02-03 17:22:05 +02:00
xtradb Merge branch '10.1' into 10.2 2019-03-15 21:00:41 +01:00