An error occurred fetching the project authors.
  1. 30 Aug, 2021 1 commit
    • Marko Mäkelä's avatar
      Fix GCC 11 -Wmaybe-uninitialized for PLUGIN_PERFSCHEMA · fda704c8
      Marko Mäkelä authored
      init_mutex_v1_t: Stop lying that the mutex parameter is const.
      GCC 11.2.0 assumes that it is and could complain about any mysql_mutex_t
      being uninitialized even after mysql_mutex_init() as long as
      PLUGIN_PERFSCHEMA is enabled.
      
      init_rwlock_v1_t, init_cond_v1_t: Remove untruthful const qualifiers.
      
      Note: init_socket_v1_t is expecting that the socket fd has already
      been created before PSI_SOCKET_CALL(init_socket), and therefore that
      parameter really is being treated as a pointer to const.
      fda704c8
  2. 10 Mar, 2020 3 commits
  3. 11 May, 2019 1 commit
  4. 06 May, 2018 1 commit
    • Michael Widenius's avatar
      Optimize performance schema likely/unlikely · 70c1110a
      Michael Widenius authored
      Performance schema likely/unlikely assume that performance schema
      is enabled by default, which causes a performance degradation for
      default installations that doesn't have performance schema enabled.
      
      Fixed by changing the likely/unlikely in PS to assume it's
      not enabled. This can be changed by compiling with
      -DPSI_ON_BY_DEFAULT
      
      Other changes:
      - Added psi_likely/psi_unlikely that is depending on
        PSI_ON_BY_DEFAULT. psi_likely() is assumed to be true
        if PS is enabled.
      - Added likely/unlikely to some PS interface code.
      - Moved pfs_enabled to mysys (was initialized but not used before)
      - Added "if (pfs_likely(pfs_enabled))" around calls to PS to avoid
        an extra call if PS is not enabled.
      - Moved checking flag_global_instrumention before other flags
        to speed up the case when PS is not enabled.
      70c1110a
  5. 11 Jun, 2015 1 commit
  6. 04 Jun, 2014 1 commit
    • Michael Widenius's avatar
      Fixed compiler warnings · 414e8388
      Michael Widenius authored
      mysys/psi_noop.c:
        Fixed wrong prototype
      sql/rpl_gtid.cc:
        Added #ifndef to hide not used variable
      storage/connect/connect.cc:
        Added volatile to avoid compiler warning in gcc 4.8.1
      storage/connect/filamvct.cpp:
        Added volatile to avoid compiler warning in gcc 4.8.1
      storage/maria/ma_checkpoint.c:
        Removed cast to avoid compiler warning
      storage/myisam/mi_delete_table.c:
        Added attribute to avoid compiler warning
      storage/tokudb/ha_tokudb.cc:
        Use LINT_INIT_STRUCT to avoid compiler warnings
      storage/tokudb/hatoku_hton.cc:
        Use LINT_INIT_STRUCT to avoid compiler warnings
      storage/tokudb/tokudb_card.h:
        Use LINT_INIT_STRUCT to avoid compiler warnings
      storage/tokudb/tokudb_status.h:
        Use LINT_INIT_STRUCT to avoid compiler warnings
      414e8388
  7. 25 Mar, 2013 1 commit
  8. 14 Aug, 2012 1 commit
  9. 01 Aug, 2012 1 commit