1. 02 Jul, 2020 10 commits
  2. 01 Jul, 2020 16 commits
    • Oleksandr Byelkin's avatar
      MDEV-22983: Mariabackup's --help option disappeared · b0f83605
      Oleksandr Byelkin authored
      return --help option
      b0f83605
    • Marko Mäkelä's avatar
      MDEV-20377: Fix -Wunused-but-set-variable · 69df4f83
      Marko Mäkelä authored
      69df4f83
    • Vladislav Vaintroub's avatar
      MDEV-23067 Windows : manually registered services rejected mysql_upgrade_service · 41b0d98e
      Vladislav Vaintroub authored
      - service not using "--defaults-file" can have any name not just "MySQL"
      - service with "--defaults-file", without datadir in them
      use default datadir (install_root\data)
      41b0d98e
    • Marko Mäkelä's avatar
      be517384
    • Marko Mäkelä's avatar
      MDEV-20377: Make WITH_MSAN more usable · c36834c8
      Marko Mäkelä authored
      MemorySanitizer (clang -fsanitize=memory) requires that all code
      be compiled with instrumentation enabled. The only exception is the
      C runtime library. Failure to use instrumented libraries will cause
      bogus messages about memory being uninitialized.
      
      In WITH_MSAN builds, we must avoid calling getservbyname(),
      because even though it is a standard library function, it is
      not instrumented, not even in clang 10.
      
      Note: Before MariaDB Server 10.5, ./mtr will typically fail
      due to the old PCRE library, which was updated in MDEV-14024.
      
      The following cmake options were tested on 10.5
      in commit 94d0bb4d:
      
      cmake \
      -DCMAKE_C_FLAGS='-march=native -O2' \
      -DCMAKE_CXX_FLAGS='-stdlib=libc++ -march=native -O2' \
      -DWITH_EMBEDDED_SERVER=OFF -DWITH_UNIT_TESTS=OFF -DCMAKE_BUILD_TYPE=Debug \
      -DWITH_INNODB_{BZIP2,LZ4,LZMA,LZO,SNAPPY}=OFF \
      -DPLUGIN_{ARCHIVE,TOKUDB,MROONGA,OQGRAPH,ROCKSDB,CONNECT,SPIDER}=NO \
      -DWITH_SAFEMALLOC=OFF \
      -DWITH_{ZLIB,SSL,PCRE}=bundled \
      -DHAVE_LIBAIO_H=0 \
      -DWITH_MSAN=ON
      
      MEM_MAKE_DEFINED(): An alias for VALGRIND_MAKE_MEM_DEFINED()
      and __msan_unpoison().
      
      MEM_GET_VBITS(), MEM_SET_VBITS(): Aliases for
      VALGRIND_GET_VBITS(), VALGRIND_SET_VBITS(), __msan_copy_shadow().
      
      InnoDB: Replace the UNIV_MEM_ macros with corresponding MEM_ macros.
      
      ut_crc32_8_hw(), ut_crc32_64_low_hw(): Use the compiler built-in
      functions instead of inline assembler when building WITH_MSAN.
      This will require at least -msse4.2 when building for IA-32 or AMD64.
      The inline assembler would not be instrumented, and would thus cause
      bogus failures.
      c36834c8
    • Sergei Golubchik's avatar
      MDEV-21222 mariabackup.incremental_backup failed with memory allocation failure · 5a097c55
      Sergei Golubchik authored
      mariabackup tries to allocate a buffer of page_size*page_size/4 size.
      for 64k page it means 1Gb, which doesn't work very well on 32-bit builders.
      
      Skip the 64k page test on 32bit.
      5a097c55
    • Marko Mäkelä's avatar
      9ed50ece
    • Marko Mäkelä's avatar
      MDEV-22690 MSAN use-of-uninitialized-value in optimizer_trace · 1a4846de
      Marko Mäkelä authored
      This was actually fixed in commit e843033d
      and all that we need to do is to remove an unnecessary work-around.
      1a4846de
    • Vladislav Vaintroub's avatar
      MDEV-23052 mysql_install_db.exe can run on existing non-empty directory, · fe05c16c
      Vladislav Vaintroub authored
      and remove it on error
      
      Disable existing non-empty datadir for mysql_install_db.exe
      fe05c16c
    • Marko Mäkelä's avatar
      Merge 10.1 into 10.2 · ea2bc974
      Marko Mäkelä authored
      ea2bc974
    • Sergei Golubchik's avatar
      make rocksdb cmake checks less verbose on repeat · 6d3747a2
      Sergei Golubchik authored
      * fix FindLZ4 to follow convention (LIBRARIES, not LIBRARY)
      * remove redundant checks from rocksdb/CMakeLists.txt
      * put all checks through the same macro that uniformly
        checks for a package, prints the message, adds definition
      6d3747a2
    • Otto Kekäläinen's avatar
      Fix RocksDB detection of ZSTD · 2ed41576
      Otto Kekäläinen authored
      The library finder needs to have capitals in its name so that FIND_PACKAGE
      will load the correct finder and actually detect that libzstd is available.
      
      Without this change the CMake would just always silently skip ZSTD since
      it would never find it.
      
      Simplify Debian autopkgtest RocksDB part and make it more verbose so that
      future regressions like this are easier to debug.
      
      Also remove QUIET from the RocksDB FIND_PACKAGE call so that it is easier
      to read in build logs what libraries were detected. Also add missing
      underscores to error messages.
      2ed41576
    • Sergei Golubchik's avatar
      always use python3 · 263f8aff
      Sergei Golubchik authored
      because columnstore uses python3, so rocksdb can be picky too.
      python3 is present in all supported distros.
      and python2 is obsolete anyway.
      263f8aff
    • Sergei Golubchik's avatar
      ColumnStore RPM packaging fixes · d742f282
      Sergei Golubchik authored
      1. move columnstore-as-a-submodule RPM packaging away from the submodule
      2. set REQUIRES correctly, appending to existing REQUIRES
      3. same for USER_FILELIST and CONFLICTS
      4. set all variables in the correct scope
      5. skip columnstore correctly (not when RPM or DEB, but when
         a plugin target is not created)
      d742f282
    • Patrick LeBlanc's avatar
      A few important fixes for columnstore. · 04df0bda
      Patrick LeBlanc authored
       - fix columnstore's python dependencies (MCOL-4114)
       - reduce compiler warning count from 14k to ~100 (MCOL-4030)
       - disable bintar builds
      04df0bda
    • Varun Gupta's avatar
      MDEV-22852: SIGSEGV in sortlength (optimized builds) · fbfb5b5f
      Varun Gupta authored
      The issue here is for a DEPENDENT subquery that has an aggregate function in the ORDER BY clause,
      is wrapped inside an Item_aggregate_ref. For computation of ORDER BY we need to refer to the
      temp table field corresponding to this item. But in the function make_sortorder, we were
      explicitly casting Item_aggrgate_ref to Item_sum, which leads to us not getting the temp
      table field corresponding to the item.
      fbfb5b5f
  3. 30 Jun, 2020 9 commits
  4. 29 Jun, 2020 4 commits
  5. 27 Jun, 2020 1 commit