mariadb/storage
Marko Mäkelä 8c0d873b76 MDEV-13724 ALTER TABLE…ALGORITHM=INPLACE is modifying the source table
row_merge_read_clustered_index(): The row->fields[] could point
to a record in the clustered index page of the source table, or
to an old version of the record that was constructed in row_heap.

If the row->fields[] points to the clustered index page, then
we were modifying buffer pool data without holding appropriate
block->lock and without appropriate redo logging. The intention
was to modify a copy of the data, not the source file page,
because concurrent readers would still very much need the original
values of the DB_TRX_ID,DB_ROLL_PTR for their multi-versioning.

Either way, it is simplest to not write anything at all, and to
make row->fields[] point to the constant reset_trx_id.
2017-09-06 18:16:43 +03:00
..
archive Enusure that my_global.h is included first 2017-08-24 01:05:44 +02:00
blackhole Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
cassandra Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
connect Merge bb-10.2-ext into 10.3 2017-09-01 11:33:45 +03:00
csv Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-06-15 15:27:11 +04:00
example Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
federated Merge branch '10.2' into bb-10.2-ext 2017-08-25 10:25:48 +02:00
federatedx Merge branch '10.2' into bb-10.2-ext 2017-08-25 10:25:48 +02:00
heap Merge branch 'bb-10.2-ext' into 10.3 2017-08-26 00:34:43 +02:00
innobase MDEV-13724 ALTER TABLE…ALGORITHM=INPLACE is modifying the source table 2017-09-06 18:16:43 +03:00
maria Merge bb-10.2-ext into 10.3 2017-09-01 11:33:45 +03:00
mroonga MDEV-11371 - column compression 2017-08-31 15:44:17 +04:00
myisam Merge branch 'bb-10.2-ext' into 10.3 2017-08-26 00:34:43 +02:00
myisammrg Merge 10.2 into bb-10.2-ext 2017-09-01 08:47:55 +03:00
oqgraph compilation failure in oqgraph after 4aaa38d26e 2017-08-26 00:06:02 +02:00
perfschema Changed KEY names to use LEX_CSTRING 2017-08-24 01:05:53 +02:00
rocksdb Merge bb-10.2-ext into 10.3 2017-09-01 11:33:45 +03:00
sequence Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
sphinx Enusure that my_global.h is included first 2017-08-24 01:05:44 +02:00
spider Merge bb-10.2-ext into 10.3 2017-09-01 11:33:45 +03:00
test_sql_discovery Enusure that my_global.h is included first 2017-08-24 01:05:44 +02:00
tokudb MDEV-11371 - column compression 2017-08-31 15:44:17 +04:00