1. 28 Mar, 2024 2 commits
    • Dmitry Shulga's avatar
      MDEV-33767: Memory leaks found in some tests run with --ps-protocol against a... · f44e41db
      Dmitry Shulga authored
      MDEV-33767: Memory leaks found in some tests run with --ps-protocol against a server built with the option -DWITH_PROTECT_STATEMENT_MEMROOT
      
      Found memory leaks were introduced by the commit
        a896bebf
        MDEV-18844 Implement EXCEPT ALL and INTERSECT ALL operations
      and caused by using a statement arena instead a runtime arena for
      allocation of objects having temporary life span by their nature.
      Aforementioned memory leaks were produced by running queries
      that typically use select with intersect, union or table values
      constructors.
      
      To fix these memory leaks use the runtime arena for allocation
      of Item_field objects used by set operations.
      
      Additionally, OOM handling added on allocation of aforementioned
      Item_field objects.
      f44e41db
    • Daniel Black's avatar
      MDEV-33044 Loading time zones does not work with alter_algorithm INPLACE (postfix) · 9f1019ba
      Daniel Black authored
      Test case doesn't work on embedded builds.
      9f1019ba
  2. 27 Mar, 2024 17 commits
  3. 25 Mar, 2024 2 commits
  4. 22 Mar, 2024 2 commits
  5. 19 Mar, 2024 1 commit
  6. 18 Mar, 2024 3 commits
    • Daniel Black's avatar
      MDEV-33636: RPM caps is on mariadbd exe · a13e521b
      Daniel Black authored
      Postfix on 51e3f1da that
      mariadbd should be the executable name rather than capabilities
      on a symlink.
      a13e521b
    • Marko Mäkelä's avatar
      Work around missing MSAN instrumentation · 4592af2e
      Marko Mäkelä authored
      Let us skip the recently added test main.mysql-interactive if
      an instrumented ncurses library is not available.
      
      In InnoDB, let us work around an uninstrumented libnuma, by
      declaring that the objects returned by numa_get_mems_allowed()
      are initialized.
      4592af2e
    • Marko Mäkelä's avatar
      MDEV-33478: Tests massively fail with clang-18 -fsanitize=memory · 09d991d0
      Marko Mäkelä authored
      Starting with clang-16, MemorySanitizer appears to check that
      uninitialized values not be passed by value nor returned.
      Previously, it was allowed to copy uninitialized data in such cases.
      
      get_foreign_key_info(): Remove a local variable that was passed
      uninitialized to a function.
      
      DsMrr_impl: Initialize key_buffer, because DsMrr_impl::dsmrr_init()
      is reading it.
      
      test_bind_result_ext1(): MYSQL_TYPE_LONG is 32 bits, hence we must
      use a 32-bit type, such as int. sizeof(long) differs between
      LP64 and LLP64 targets.
      09d991d0
  7. 15 Mar, 2024 2 commits
  8. 14 Mar, 2024 5 commits
  9. 13 Mar, 2024 4 commits
  10. 12 Mar, 2024 1 commit
    • Dmitry Shulga's avatar
      MDEV-33549: Incorrect handling of UPDATE in PS mode in case a table's colum declared as NOT NULL · 428a6731
      Dmitry Shulga authored
      UPDATE statement that is run in PS mode and uses positional parameter
      handles columns declared with the clause DEFAULT NULL incorrectly in
      case the clause DEFAULT is passed as actual value for the positional
      parameter of the prepared statement. Similar issue happens in case
      an expression specified in the DEFAULT clause of table's column definition.
      
      The reason for incorrect processing of columns declared as DEFAULT NULL
      is that setting of null flag for a field being updated was missed
      in implementation of the method Item_param::assign_default().
      The reason for incorrect handling of an expression in DEFAULT clause is
      also missed saving of a field inside implementation of the method
      Item_param::assign_default().
      428a6731
  11. 11 Mar, 2024 1 commit