diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-01 16:11:41 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-02 11:03:44 +0300 |
commit | 43c20542ddf49fcc2d8a052122f3c6a603939af5 (patch) | |
tree | 4bdf14c2c81b054bef083ca9d501331bc6b4295a /storage/innobase/dict | |
parent | 517486963b3c2d059df1c3537baf000e77eb0196 (diff) | |
download | mariadb-git-43c20542ddf49fcc2d8a052122f3c6a603939af5.tar.gz |
MDEV-19030: Assertion failed in rec_init_offsets() after DROP COLUMN
This basically is a duplicate of MDEV-18219, proving that the
assertion was not relaxed correctly.
dict_index_t::in_instant_init: A debug flag that will only be set in
btr_cur_instant_init_low() in order to suppress the assertion failure
in rec_init_offsets() for that code path only.
Diffstat (limited to 'storage/innobase/dict')
-rw-r--r-- | storage/innobase/dict/dict0load.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/innobase/dict/dict0load.cc b/storage/innobase/dict/dict0load.cc index 1540f7e53bc..fe1628caac5 100644 --- a/storage/innobase/dict/dict0load.cc +++ b/storage/innobase/dict/dict0load.cc @@ -426,6 +426,8 @@ dict_process_sys_indexes_rec( const char* err_msg; byte* buf; + ut_d(index->is_dummy = true); + ut_d(index->in_instant_init = false); buf = static_cast<byte*>(mem_heap_alloc(heap, 8)); /* Parse the record, and get "dict_index_t" struct filled */ |