1. 14 Jun, 2019 1 commit
  2. 13 Jun, 2019 1 commit
  3. 12 Jun, 2019 2 commits
  4. 11 Jun, 2019 9 commits
    • Vladislav Vaintroub's avatar
      MDEV-19709 Workaround "internal compiler bug" on GCC v 4.9 · 1f6b02e9
      Vladislav Vaintroub authored
      GCC crashes during compilation, on a code fragment that was added  to
      workaround code generation bug on GCC.
      
      To fix, I randomly moved pragmas around, which seems to make GCC happy.
      1f6b02e9
    • Sergei Golubchik's avatar
      MDEV-19706 RPM no longer installs init script on systemd systems, but preun... · 0af18408
      Sergei Golubchik authored
      MDEV-19706 RPM no longer installs init script on systemd systems, but preun script still tries to erase it
      0af18408
    • Sergei Golubchik's avatar
      MDEV-16249 CHECKSUM TABLE for a spider table is not parallel and saves all... · 27fcdb16
      Sergei Golubchik authored
      MDEV-16249 CHECKSUM TABLE for a spider table is not parallel and saves all data in memory in the spider head by default (#1328)
      
      followup for be5c432a
      
      ha_partition::calculate_checksum() has to invoke calculate_checksum()
      for partitions unconditionally, not under (HA_HAS_OLD_CHECKSUM | HA_HAS_NEW_CHECKSUM).
      Because the server uses ::info() to ask for a live checksum, while
      calculate_checksum() must, precisely, calculate it the slow way,
      also for tables that don't have the live checksum at all.
      
      Also, fix the compilation on Windows (ha_checksum/ulonglong type mix).
      27fcdb16
    • Marko Mäkelä's avatar
      MDEV-19709: Unbreak the build for clang · bb70d419
      Marko Mäkelä authored
      bb70d419
    • Georg Richter's avatar
      MDEV-14101: · ffa32522
      Georg Richter authored
                  Provide an option to select TLS protocol:
                  Server and command line tools now support option --tls_version to specify the
                  TLS version between client and server. Valid values are TLSv1.0, TLSv1.1, TLSv1.2, TLSv1.3
                  or a combination of them. E.g.
      
                  --tls_version=TLSv1.3
                  --tls_version=TLSv1.2,TLSv1.3
      
                  In case there is a gap between versions, the lowest version will be used:
                  --tls_version=TLSv1.1,TLSv1.3 -> Only TLSv1.1 will be available.
      
                  If the used TLS library doesn't support the specified TLS version, it will use
                  the default configuration.
      
                  Limitations:
      
                  SSLv3 is not supported. The default configuration doesn't support TLSv1.0 anymore.
                  TLSv1.3 protocol currently is only supported by OpenSSL 1.1.0 (client and server) and
                  GnuTLS 3.6.5 (client only).
      
                  Overview of TLS implementations and protocols
      
                  Server:
      
                  +-----------+-----------------------------------------+
                  | Library   | Supported TLS versions                  |
                  +-----------+-----------------------------------------+
                  | WolfSSL   | TLSv1.1, TLSv1,2                        |
                  +-----------+-----------------------------------------+
                  | OpenSSL   | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3    |
                  +-----------+-----------------------------------------+
                  | LibreSSL  | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3    |
                  +-----------+-----------------------------------------+
      
                  Client (MariaDB Connector/C)
                  +-----------+-----------------------------------------+
                  | Library   | Supported TLS versions                  |
                  +-----------+-----------------------------------------+
                  | GnuTLS    | (TLSv1.0), TLSv1.1, TLSv1.2, TLSv1.3    |
                  +-----------+-----------------------------------------+
                  | Schannel  | (TLSv1.0), TLSv1.1, TLSv1.2             |
                  +-----------+-----------------------------------------+
                  | OpenSSL   | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3    |
                  +-----------+-----------------------------------------+
                  | LibreSSL  | (TLSv1.0), TLSv1.1, TLSv1,2, TLSv1.3    |
                  +-----------+-----------------------------------------+
      ffa32522
    • Varun's avatar
      enabled test archive_gis · 1b86ef9f
      Varun authored
      1b86ef9f
    • Varun's avatar
      MDEV-18880: Optimizer trace prints date in hexadecimal · a0cb7551
      Varun authored
      Introduced a print_key_value function to makes sure that the trace prints data in readable format
      for readable characters and the rest of the characters are printed as hexadecimal.
      a0cb7551
    • Marko Mäkelä's avatar
      Merge 10.2 into 10.3 · b42dbdbc
      Marko Mäkelä authored
      b42dbdbc
    • Vladislav Vaintroub's avatar
      MDEV-19709 Bitmap<128>::merge etc may crash on older GCC versions · 40ff8019
      Vladislav Vaintroub authored
      Older GCC generates SSE instruction on not-128-bit-aligned data in
      Bitmap<128>::buffer
      
      Workaround by forcing GCC not to use SSE on Bitmap<N> template.
      40ff8019
  5. 10 Jun, 2019 3 commits
    • Kentoku SHIBA's avatar
      MDEV-16249 CHECKSUM TABLE for a spider table is not parallel and saves all... · be5c432a
      Kentoku SHIBA authored
      MDEV-16249 CHECKSUM TABLE for a spider table is not parallel and saves all data in memory in the spider head by default (#1328)
      
      add checksum_null for setting null value of checksum
      be5c432a
    • Marko Mäkelä's avatar
      MDEV-19725 Incorrect error handling in ALTER TABLE · cbac8f93
      Marko Mäkelä authored
      Some I/O functions and macros that are declared in os0file.h used to
      return a Boolean status code (nonzero on success). In MySQL 5.7, they
      were changed to return dberr_t instead. Alas, in MariaDB Server 10.2,
      some uses of functions were not adjusted to the changed return value.
      
      Until MDEV-19231, the valid values of dberr_t were always nonzero.
      This means that some code that was incorrectly checking for a zero
      return value from the functions would never detect a failure.
      
      After MDEV-19231, some tests for ALTER ONLINE TABLE would fail with
      cmake -DPLUGIN_PERFSCHEMA=NO. It turned out that the wrappers
      pfs_os_file_read_no_error_handling_int_fd_func() and
      pfs_os_file_write_int_fd_func() were wrongly returning
      bool instead of dberr_t. Also the callers of these functions were
      wrongly expecting bool (nonzero on success) instead of dberr_t.
      
      This mistake had been made when the addition of these functions was
      merged from MySQL 5.6.36 and 5.7.18 into MariaDB Server 10.2.7.
      
      This fix also reverts commit 40becbc3
      which attempted to work around the problem.
      cbac8f93
    • Otto Kekäläinen's avatar
      Deb: Purge unused debconf translations · 5e9090ef
      Otto Kekäläinen authored
      5e9090ef
  6. 07 Jun, 2019 5 commits
  7. 06 Jun, 2019 6 commits
  8. 05 Jun, 2019 4 commits
  9. 04 Jun, 2019 2 commits
    • Varun Gupta's avatar
      MDEV-18015: Assertion `global_status_var.global_memory_used == 0' failed when... · 7906bee6
      Varun Gupta authored
      MDEV-18015: Assertion `global_status_var.global_memory_used == 0' failed when using UDF , window functions and views
      
      Adding destructor for Group_bound_tracker to free Cached_item_str.
      The Cached_item for window functions are allocated on THD:mem_root
      but the Cached_item_str has value of type string which is allocated on
      the heap, so we need to call free() for it
      7906bee6
    • Vladislav Vaintroub's avatar
      MDEV-19684 enable intel assembly (AESNI etc) and fastmath when compiling WolfSSL · c5beac68
      Vladislav Vaintroub authored
      Using different recommended speedup options for WolfSSL.
      
      - Enable  x64 assembly code on Intel.
      - in my_crypt.cc, align EVP_CIPHER_CTX buffer, since some members need
      alignment of 16 (for AESNI instructions), when assembler is enabled.
      - Adjust MY_AES_CTX_SIZE
      - Enable fastmath in wolfssl (large integer math).
      c5beac68
  10. 03 Jun, 2019 7 commits