mariadb/storage
Marko Mäkelä 4e7ee166a9 MDEV-18295 IMPORT TABLESPACE fails with instant-altered tables
When importing a tablespace, we must initialize dummy DEFAULT NULL
values for any instantly added columns in order to avoid a debug
assertion failure when PageConverter::update_records() invokes
rec_get_offsets(). Finally, when the operation completes, we must
evict and reload the table definition, so that the correct
default values for instantly added columns will be loaded.

ha_innobase::discard_or_import_tablespace(): On successful
IMPORT TABLESPACE, evict and reload the table definition,
so that btr_cur_instant_init() will load the correct metadata.

PageConverter::update_index_page(): Fill in dummy DEFAULT NULL values
for instantly added columns. These will be replaced upon the
completion of the operation by evicting and reloading the metadata.

row_discard_tablespace(): Invoke dict_table_t::remove_instant().
After DISCARD TABLESPACE, the table is no longer in "instant ALTER"
format, because there is no data file attached.
2019-02-11 14:42:48 +02:00
..
archive Merge branch '10.2' into 10.3 2018-06-30 16:39:20 +02:00
blackhole
cassandra remove obsolete checks for -fno-implicit-templates 2018-08-12 11:37:43 +02:00
connect Merge branch '10.2' into 10.3 2019-01-03 13:09:41 +01:00
csv Merge branch '10.2' into 10.3 2018-06-30 16:39:20 +02:00
example
federated Merge branch '10.2' into 10.3 2018-06-30 16:39:20 +02:00
federatedx Merge branch '10.2' into 10.3 2018-06-30 16:39:20 +02:00
heap Merge 10.2 into 10.3 2018-11-06 09:40:39 +02:00
innobase MDEV-18295 IMPORT TABLESPACE fails with instant-altered tables 2019-02-11 14:42:48 +02:00
maria Max transid was not stored directly after Aria recovery 2018-11-16 16:54:33 +02:00
mroonga Merge 10.2 into 10.3 2018-12-18 09:15:41 +02:00
myisam Fixed several issues with aria_chk 2018-08-31 14:26:07 +03:00
myisammrg Merge 10.2 into 10.3 2018-11-06 09:40:39 +02:00
oqgraph remove obsolete checks for -fno-implicit-templates 2018-08-12 11:37:43 +02:00
perfschema Merge 10.2 into 10.3 2018-11-06 09:40:39 +02:00
rocksdb Do not import commands library as it is not used 2019-01-25 20:00:00 +01:00
sequence
sphinx MDEV-16544 - crash in ha_sphinx::create() 2018-08-05 00:33:12 +01:00
spider MDEV-18313 Supports 'wrapper mariadb' for connection information 2019-01-31 08:51:34 +01:00
test_sql_discovery
tokudb Removed compiler warnings from tokudb 2019-02-06 22:18:20 +02:00