Commit d6b0915f authored by Marko Mäkelä's avatar Marko Mäkelä

Add a FIXME comment about supporting column reordering

parent a452fa7c
......@@ -1627,6 +1627,8 @@ void dict_table_t::instant_op_column(
/* Copy the new default values to this->heap. */
for (unsigned i = n_cols; i < table.n_cols; i++) {
dict_col_t& c = cols[i - DATA_N_SYS_COLS];
/* FIXME: Allow adding columns other than LAST,
and take col_map[] into account. */
DBUG_ASSERT(c.is_added());
if (c.def_val.len == 0) {
c.def_val.data = field_ref_zero;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment