1. 28 May, 2019 5 commits
    • Vladislav Vaintroub's avatar
      MDEV-19617 Assertion `src' failed in MyCTX::update · 1df42a2c
      Vladislav Vaintroub authored
      Apprently, sometimes there will be null pointers with 0 length
      passed to the MyCTX::update() function, and  will need to return
      a valid buffer.
      
      So weaken the assertion, and use a valid pointer for src if it was NULL.
      1df42a2c
    • Varun Gupta's avatar
      MDEV-18741: Optimizer trace: multi-part key ranges are printed incorrectly · 5e36f5dd
      Varun Gupta authored
      Changed the function append_range_all_keyparts to use sel_arg_range_seq_init / sel_arg_range_seq_next to produce ranges.
      Also adjusted to print format for the ranges, now the ranges are printed as:
          (keypart1_min, keypart2_min,..)  OP (keypart1_name,keypart2_name, ..) OP (keypart1_max,keypart2_max, ..)
      
      Also added more tests for range and index merge access for optimizer trace
      5e36f5dd
    • Marko Mäkelä's avatar
      MDEV-19606: dict_v_col_t: Encapsulate v_indexes · 24773bf3
      Marko Mäkelä authored
      Remove the separate allocation and pointer indirection of
      dict_v_col_t::v_indexes.
      24773bf3
    • Marko Mäkelä's avatar
      MDEV-19606: Replace most std::list with std::forward_list · 0274ab1d
      Marko Mäkelä authored
      C++11 defines the singly-linked std::forward_list. Prefer it to
      the doubly-linked std::list in cases where we dot really need it.
      Also, clean up some code.
      
      dict_index_remove_from_v_col_list(): Remove.
      Obsoleted by dict_index_t::detach_columns().
      
      There is no std::forward_list::push_back(). Use push_front() instead.
      The ordering does not really matter.
      
      dict_v_col_t::n_v_indexes: Added. There is no std::forward_list::size(),
      and trx_undo_log_v_idx() needs to know the size.
      
      rtr_info_track_t::rtr_active: Encapsulate. There really was no justification
      for the pointer indirection.
      0274ab1d
    • Marko Mäkelä's avatar
      50e79f60
  2. 27 May, 2019 3 commits
  3. 25 May, 2019 2 commits
  4. 24 May, 2019 1 commit
    • Marko Mäkelä's avatar
      MDEV-19584 Allocate recv_sys statically · 5d2619b6
      Marko Mäkelä authored
      There is only one InnoDB crash recovery subsystem.
      Allocating recv_sys statically removes one level of pointer indirection
      and makes code more readable, and removes the awkward initialization of
      recv_sys->dblwr.
      
      recv_sys_t::create(): Replaces recv_sys_init().
      
      recv_sys_t::debug_free(): Replaces recv_sys_debug_free().
      
      recv_sys_t::close(): Replaces recv_sys_close().
      
      recv_sys_t::add(): Replaces recv_add_to_hash_table().
      
      recv_sys_t::empty(): Replaces recv_sys_empty_hash().
      5d2619b6
  5. 22 May, 2019 5 commits
  6. 21 May, 2019 7 commits
  7. 20 May, 2019 6 commits
  8. 19 May, 2019 5 commits
  9. 18 May, 2019 6 commits