mariadb/storage
Marko Mäkelä 6c43068d63 MDEV-15060 Assertion in row_log_table_apply_op after instant ADD when the table is emptied during subsequent ALTER TABLE
During an online table rebuild, a table could be emptied and converted
from 'instant ADD' format to plain (pre-10.3) format. All online_log
records for rebuilding the table must be written and parsed in the
format of the table that existed at the start of the operation.

row_log_t::n_core_fields: A new field for recording index->n_core_fields
when online ALTER is initiated in row_log_allocate().

row_log_t::is_instant(): Determine if the log is in the instant format.
Only invoked by the row_log_table_ family of functions.

dict_index_t::get_n_nullable(): Remove is_instant() debug assertions.
Because a table can be converted to non-instant format during a
table-rebuilding ALTER TABLE, these assertions would be bogus when
executing row_log_table_apply().

rec_init_offsets_temp(): Add the parameter n_core for passing the
original index->n_core_fields.

rec_init_offsets_temp(): Add a 3-parameter variant.

rec_init_offsets_comp_ordinary(): Add the parameter n_core for
passing the index->n_core_fields.
2018-05-03 15:17:16 +03:00
..
archive Merge branch '10.2' into 10.3 2018-03-28 17:31:57 +02:00
blackhole
cassandra Added name to MEM_ROOT for esier debugging 2018-02-02 11:08:36 +02:00
connect MDEV-12645 - mysql_install_db: no install test db option 2018-04-30 19:34:08 +04:00
csv Added name to MEM_ROOT for esier debugging 2018-02-02 11:08:36 +02:00
example Changed static const in Alter_info and Alter_online_info to defines 2018-03-29 13:59:40 +03:00
federated Make possible to use clang on Windows (clang-cl) 2018-02-20 21:17:36 +00:00
federatedx Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
heap Merge 10.2 into 10.3 2018-04-24 20:59:57 +03:00
innobase MDEV-15060 Assertion in row_log_table_apply_op after instant ADD when the table is emptied during subsequent ALTER TABLE 2018-05-03 15:17:16 +03:00
maria Removed even more warning that was found with -Wunused 2018-04-30 15:21:52 +03:00
mroonga Fix a lot of compiler warnings found by -Wunused 2018-04-26 17:35:12 +03:00
myisam Removed even more warning that was found with -Wunused 2018-04-30 15:21:52 +03:00
myisammrg Merge 10.2 into 10.3 2018-04-24 20:59:57 +03:00
oqgraph Merge 10.2 into 10.3 2018-04-24 20:59:57 +03:00
perfschema Merge 10.2 into 10.3 2018-04-24 20:59:57 +03:00
rocksdb Fix a lot of compiler warnings found by -Wunused 2018-04-26 17:35:12 +03:00
sequence
sphinx Removed even more warning that was found with -Wunused 2018-04-30 15:21:52 +03:00
spider MDEV-15698: Spider ignores syntax errors in connection string in COMMENT field 2018-05-01 16:45:03 -07:00
test_sql_discovery Merge bb-10.2-ext into 10.3 2017-09-21 08:12:19 +03:00
tokudb MDEV-12645 - mysql_install_db: no install test db option 2018-04-30 19:34:08 +04:00