An error occurred fetching the project authors.
  1. 21 Jun, 2022 1 commit
    • Marko Mäkelä's avatar
      MDEV-28836: Memory alignment cleanup · 37946731
      Marko Mäkelä authored
      Table_cache_instance: Define the structure aligned at
      the CPU cache line, and remove a pad[] data member.
      Krunal Bauskar reported this to improve performance on ARMv8.
      
      aligned_malloc(): Wrapper for the Microsoft _aligned_malloc()
      and the ISO/IEC 9899:2011 <stdlib.h> aligned_alloc().
      Note: The parameters are in the Microsoft order (size, alignment),
      opposite of aligned_alloc(alignment, size).
      Note: The standard defines that size must be an integer multiple
      of alignment. It is enforced by AddressSanitizer but not by GNU libc
      on Linux.
      
      aligned_free(): Wrapper for the Microsoft _aligned_free() and
      the standard free().
      
      HAVE_ALIGNED_ALLOC: A new test. Unfortunately, support for
      aligned_alloc() may still be missing on some platforms.
      We will fall back to posix_memalign() for those cases.
      
      HAVE_MEMALIGN: Remove, along with any use of the nonstandard memalign().
      
      PFS_ALIGNEMENT (sic): Removed; we will use CPU_LEVEL1_DCACHE_LINESIZE.
      
      PFS_ALIGNED: Defined using the C++11 keyword alignas.
      
      buf_pool_t::page_hash_table::create(),
      lock_sys_t::hash_table::create():
      lock_sys_t::hash_table::resize(): Pad the allocation size to an
      integer multiple of the alignment.
      
      Reviewed by: Vladislav Vaintroub
      37946731
  2. 03 May, 2021 1 commit
  3. 10 Mar, 2020 1 commit
  4. 19 Jan, 2020 1 commit
  5. 11 Dec, 2019 1 commit
  6. 25 Jun, 2019 1 commit
    • Eugene Kosov's avatar
      imporve clang build · d36c107a
      Eugene Kosov authored
      cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug
      
      Maintainer mode makes all warnings errors. This patch fix warnings. Mostly about
      deprecated `register` keyword.
      
      Too much warnings came from Mroonga and I gave up on it.
      d36c107a
  7. 11 May, 2019 1 commit
    • Vicențiu Ciorbaru's avatar
      Follow-up to changing FSF address · 15f1e03d
      Vicențiu Ciorbaru authored
      Some places didn't match the previous rules, making the Floor
      address wrong.
      
      Additional sed rules:
      
      sed -i -e 's/Place.*Suite .*, Boston/Street, Fifth Floor, Boston/g'
      sed -i -e 's/Suite .*, Boston/Fifth Floor, Boston/g'
      15f1e03d
  8. 24 Apr, 2018 1 commit
    • Marko Mäkelä's avatar
      Remove most 'register' use in C++ · 39a49855
      Marko Mäkelä authored
      Modern compilers (such as GCC 8) emit warnings that the
      'register' keyword is deprecated and not valid C++17.
      
      Let us remove most use of the 'register' keyword.
      Code in 'extra/' is not touched.
      39a49855
  9. 23 Aug, 2017 1 commit
    • Michael Widenius's avatar
      Enusure that my_global.h is included first · 4aaa38d2
      Michael Widenius authored
      - Added sql/mariadb.h file that should be included first by files in sql
        directory, if sql_plugin.h is not used (sql_plugin.h adds SHOW variables
        that must be done before my_global.h is included)
      - Removed a lot of include my_global.h from include files
      - Removed include's of some files that my_global.h automatically includes
      - Removed duplicated include's of my_sys.h
      - Replaced include my_config.h with my_global.h
      4aaa38d2
  10. 28 Jul, 2016 1 commit
  11. 07 Jun, 2016 1 commit
  12. 03 Aug, 2015 1 commit
  13. 07 May, 2014 1 commit
  14. 06 May, 2014 1 commit
  15. 25 Mar, 2013 1 commit
  16. 28 Feb, 2013 2 commits
    • Marc Alff's avatar
      Bug#16414644 ASSERTION FAILED: SIZE == PFS_ALLOCATED_MEMORY · 99f83c66
      Marc Alff authored
      Before this fix, the command
        SHOW ENGINE PERFORMANCE_SCHEMA STATUS
      could report wrong amount of memory allocated,
      when the amount of memory used exceeds 4GB.
      
      The problem is that size computations are not done using size_t,
      so that overflows do occur, truncating the results.
      
      This fix compute memory sizes properly with size_t.
      
      Tested manually.
      
      No test script provided, as the script would need to allocate too much 
      memory for the test.
      99f83c66
    • Marc Alff's avatar
      Bug#16414644 ASSERTION FAILED: SIZE == PFS_ALLOCATED_MEMORY · fafa23dc
      Marc Alff authored
      Before this fix, the command
        SHOW ENGINE PERFORMANCE_SCHEMA STATUS
      could report wrong amount of memory allocated,
      when the amount of memory used exceeds 4GB.
      
      The problem is that size computations are not done using size_t,
      so that overflows do occur, truncating the results.
      
      This fix compute memory sizes properly with size_t.
      
      Tested manually.
      
      No test script provided, as the script would need to allocate too much 
      memory for the test.
      fafa23dc
  17. 01 Aug, 2012 1 commit
  18. 11 Nov, 2010 2 commits
    • Marc Alff's avatar
      Bug#58003 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY_LONG EXTENDED · 6272025a
      Marc Alff authored
      This fix is a follow up on the fix for similar issue 56761.
      
      When sanitizing data read from the events_waits_history_long table,
      the code needs also to sanitize the schema_name / object_name / file_name pointers,
      because such pointers could also hold invalid values.
      Checking the string length alone was required but not sufficient.
      
      This fix verifies that:
      - the table schema and table name used in table io events
      - the file name used in file io events
      are valid pointers before dereferencing these pointers.
      6272025a
    • Marc Alff's avatar
      Bug#58003 Segfault on CHECKSUM TABLE performance_schema.EVENTS_WAITS_HISTORY_LONG EXTENDED · d47af174
      Marc Alff authored
      This fix is a follow up on the fix for similar issue 56761.
      
      When sanitizing data read from the events_waits_history_long table,
      the code needs also to sanitize the schema_name / object_name / file_name pointers,
      because such pointers could also hold invalid values.
      Checking the string length alone was required but not sufficient.
      
      This fix verifies that:
      - the table schema and table name used in table io events
      - the file name used in file io events
      are valid pointers before dereferencing these pointers.
      d47af174
  19. 16 Jul, 2010 4 commits
  20. 12 Jan, 2010 2 commits