1. 02 Oct, 2018 1 commit
  2. 01 Oct, 2018 6 commits
  3. 29 Sep, 2018 1 commit
  4. 28 Sep, 2018 8 commits
  5. 27 Sep, 2018 2 commits
    • Marko Mäkelä's avatar
      Remove dict_col_t::dropped · 93634462
      Marko Mäkelä authored
      dict_col_t::DROPPED: Magic value for dict_col_t::ind
      93634462
    • Marko Mäkelä's avatar
      Include dropped columns in ctx->instant_table and dict_index_t · 16278657
      Marko Mäkelä authored
      row_metadata_to_tuple(): Convert a metadata record to a data tuple,
      based on the new info_bits of the metadata record.
      
      btr_cur_pessimistic_update(): Invoke row_metadata_to_tuple() if needed.
      
      dict_index_t::instant_add_field(): Append fields at the end, if any.
      The fields for dropped columns are preserved.
      
      dict_table_t::instant_column(): Renamed from instant_add_column().
      Add the parameter col_map so that columns can be reordered.
      FIXME: Also support ADD/DROP/reorder/rename of VIRTUAL COLUMN.
      
      ha_innobase_inplace_ctx::prepare_instant(): Preserve any instantly
      dropped columns in instant_table and its first index.
      FIXME: Support instant ALTER TABLE even if hidden FTS_DOC_ID exists.
      
      innobase_instant_try(): Simplify the logic for detecting dropped
      or reordered columns. If any drop or reorder is needed, construct
      an update vector with the metadata blob.
      
      dtype_t::metadata_blob_init(): Initialize the metadata BLOB data type.
      
      dict_table_t::find(): Find an old column based on a new column number.
      
      rec_convert_dtuple_to_metadata_comp(): Convert an alter metadata tuple
      into a record.
      
      row_rec_to_index_entry_impl(): Add the template parameter mblob
      and the optional parameter info_bits for specifying the desired new
      info bits. For the metadata tuple, allow conversion between the original
      format (ADD COLUMN only) and the generic format (with hidden BLOB).
      
      row_upd_index_replace_metadata(): Apply an update vector to an
      alter_metadata tuple.
      16278657
  6. 26 Sep, 2018 4 commits
  7. 25 Sep, 2018 4 commits
  8. 24 Sep, 2018 11 commits
  9. 21 Sep, 2018 3 commits
    • Marko Mäkelä's avatar
      Simplify dict_index_t::is_instant() · ecd14356
      Marko Mäkelä authored
      ecd14356
    • Marko Mäkelä's avatar
      Simplify ha_innobase::check_if_supported_inplace_alter() · 2e55684e
      Marko Mäkelä authored
      Remove some unnecessary computations and conditions.
      
      FIXME: Instant add/drop/reorder operations on stored columns
      cannot yet be combined with operations on virtual columns.
      2e55684e
    • Marko Mäkelä's avatar
      Fix instant DROP COLUMN of multiple columns · df2b490a
      Marko Mäkelä authored
      innobase_instant_drop_col(): Remove the parameter for the table name.
      The InnoDB data dictionary could be out of sync with the .frm file,
      because renaming columns between upper and lower case may not be
      reflected by the InnoDB dictionary.
      
      innobase_op_instant_try(): Remember the number of the last stored
      column, and support dropping multiple columns at a time.
      FIXME: adjust SYS_COLUMNS.POS for the pre-existing (not added)
      virtual columns.
      df2b490a