1. 03 Jul, 2019 4 commits
    • Marko Mäkelä's avatar
      MDEV-18582: Extend SHOW STATUS LIKE 'Innodb_%' · 3bd706ee
      Marko Mäkelä authored
      Many InnoDB internal variables and counters were only exposed
      in an unstructured fashion via SHOW ENGINE INNODB STATUS.
      
      Expose more variables via SHOW STATUS. Many of these were
      exported in XtraDB.
      
      Also, introduce SHOW_SIZE_T and use the proper size for
      exporting the InnoDB variables.
      
      Remove some unnecessary indirection via export_vars, and
      bind some variables directly.
      
      dict_sys_t::rough_size(): Replaces dict_sys_get_size()
      and includes the hash table sizes.
      
      This is based on a contribution by Tony Liu from ServiceNow.
      3bd706ee
    • Marko Mäkelä's avatar
      c912fc30
    • Marko Mäkelä's avatar
      MDEV-19940 Clean up INFORMATION_SCHEMA.INNODB_ tables · f60cd528
      Marko Mäkelä authored
      Shorten some VARCHAR attributes to a more reasonable length.
      
      INNODB_METRICS: Rename the column STATUS to ENABLED, and make it Boolean.
      
      Replace with INT(1) many Boolean attributes that were declared as VARCHAR
      containing 'NO','YES','disabled','enabled','Uninitialized','Initialized'.
      
      Replace some VARCHAR attributes with ENUM.
      
      Replace some BIGINT with INT when 32 bits are sufficient.
      
      Remove INNODB_SYS_TABLESPACES.SPACE_TYPE. The type of a tablespace
      can be derived from the tablespace ID. A fixed number is used for
      the system tablespace and the temporary tablespace. All other tablespaces
      are single-table or single-partition tablespaces.
      
      i_s_locks_row_t::lock_type, lock_get_type_str(): Remove.
      This is a redundant field. Table and record locks can be
      distinguished by whether i_s_locks_row_t::lock_index is NULL.
      
      fill_trx_row(): Do not unnecessarily copy the constant strings that
      trx->op_info is pointing to.
      
      i_s_locks_row_t::lock_mode: Replace string with integer.
      
      lock_get_mode_str(), lock_get_trx_id(), lock_get_trx(): Remove.
      
      field_store_ulint(): Remove.
      f60cd528
    • Marko Mäkelä's avatar
      MDEV-19908: Add override keywords · b5e498f6
      Marko Mäkelä authored
      Fix the build on clang. GCC only checks that a member function with
      the C++11 override keyword is actually overriding a virtual member
      function in a base class. In clang, you will get a warning for
      overridden member functions that lack the keyword, if any overridden
      member function of the class is declared with the keyword.
      b5e498f6
  2. 02 Jul, 2019 1 commit
  3. 01 Jul, 2019 2 commits
  4. 30 Jun, 2019 7 commits
  5. 29 Jun, 2019 1 commit
  6. 28 Jun, 2019 3 commits
  7. 27 Jun, 2019 4 commits
  8. 26 Jun, 2019 18 commits