1. 27 Jun, 2019 3 commits
  2. 26 Jun, 2019 19 commits
  3. 25 Jun, 2019 4 commits
  4. 24 Jun, 2019 4 commits
  5. 22 Jun, 2019 5 commits
    • Eugene Kosov's avatar
      NFC: refactor Field::is_equal() and related stuff · a82e42fd
      Eugene Kosov authored
      Make Field::is_equal() const and return bool as it's a naturally fitting
      type for it. Also it's agrument was narrowed to Column_definition.
      
      InnoDB can change type of some columns by itself. InnoDB-specific code used to
      reside in Field_xxx:is_equal() methods. Now engine-specific stuff was
      moved to a virtual methods of handler::can_convert{string,varstring,blob,geom}.
      These methods are called by Field::can_be_converted_by_engine() which is a
      double dispatch pattern.
      
      Some InnoDB-specific code still resides in compare_keys_but_name(). It should
      be moved from here someday to handler::compare_key_parts(...) or similar.
      
      IS_EQUAL_WITH_REINTERPRET_COMPATIBLE_CHARSET
      IS_EQUAL_WITH_REINTERPRET_COMPATIBLE_CHARSET_BUT_COLLATE: both was removed
      
      IS_EQUAL_NO, IS_EQUAL_YES are not needed now and should be removed
      along with deprecated handler::check_if_incompatible_data().
      
      HA_EXTENDED_TYPES_CONVERSION: was removed as such logic is not needed now by
      server code.
      
      ALTER_COLUMN_EQUAL_PACK_LENGTH: was renamed to a more generic
      ALTER_COLUMN_TYPE_CHANGE_BY_ENGINE
      a82e42fd
    • Eugene Kosov's avatar
      MDEV-17301 Change of COLLATE unnecessarily requires ALGORITHM=COPY · 854c219a
      Eugene Kosov authored
      Patch is about two cases:
      1) On some collate changes it's possible to rebuild only secondary indexes
      2) For non-indexed columns collate can be changed INSTANTly
      
      Implemented mostly in Field_{string,varstring,blob}::is_equal().
      Make this method return how exactly collationa differs.
      This information is later used by fill_alter_inplace_info() to pass
      correct info to engine.
      854c219a
    • Vladislav Vaintroub's avatar
      remove workaround from MDEV-9409 · 72d3676f
      Vladislav Vaintroub authored
      72d3676f
    • Alexander Barkov's avatar
    • Alexander Barkov's avatar
  6. 21 Jun, 2019 2 commits
  7. 20 Jun, 2019 3 commits