• Jan Lindström's avatar
    MDEV-5141: Failing assertion: ib_table->stat_initialized in file ha_innodb.cc... · c75e92fd
    Jan Lindström authored
    MDEV-5141: Failing assertion: ib_table->stat_initialized in file ha_innodb.cc line 11042 on concurrent ALTER and SELECT from I_S
    
    Analysis: After ALTER TABLE the table statistics needs to be rebuilt and therefore stat_initialized is set false.  It will be rebuilt when the table is loaded again and table is closed when alter table is completed. However, during alter table table could be used by concurrent SELECT from I_S. Therefore, we need to rebuild transient table statistics meanwhile until table can be reloaded.
    c75e92fd
row0mysql.cc 141 KB