table_share->tmp_table != NO_TMP_TABLE || m_lock_type != 2' failed in handler::ha_rnd_next(); / Assertion
Add the same check for altering DEFAULT used as for CREATE TABLE.