1. 15 Aug, 2022 4 commits
  2. 13 Aug, 2022 1 commit
    • qggcs's avatar
      MDEV-29264: JSON function overflow error based on LONGTEXT field · 82017511
      qggcs authored
      Analysis: The JSON functions(JSON_ARRAY[OBJECT|ARRAY_APPEND|ARRAY_INSERT|INSERT|SET|REPLACE]) result is truncated when the function is called based on LONGTEXT field. The overflow occurs when computing the result length due to the LONGTEXT max length is same as uint32 max length. It lead to wrong result length.
      Fix: Add static_cast<ulonglong> to avoid uint32 overflow and fix the arguments used.
      82017511
  3. 10 Aug, 2022 11 commits
  4. 09 Aug, 2022 3 commits
  5. 08 Aug, 2022 4 commits
  6. 05 Aug, 2022 2 commits
    • Marko Mäkelä's avatar
      MDEV-13542 fixup: Improve a recovery error message · c9803504
      Marko Mäkelä authored
      A message used to say "failed to read or decrypt"
      but the "or decrypt" part was removed in
      commit 0b47c126
      without adjusting rarely needed error message suppressions in some
      encryption tests.
      
      Let us improve the error message so that it mentions the file name,
      and adjust all error message suppressions in tests.
      
      Thanks to Oleksandr Byelkin for noticing one test failure.
      c9803504
    • Oleksandr Byelkin's avatar
      fix tests · 5dc86050
      Oleksandr Byelkin authored
      5dc86050
  7. 04 Aug, 2022 10 commits
  8. 03 Aug, 2022 5 commits
    • Oleksandr Byelkin's avatar
      Merge branch '10.3' into 10.4 · e5090652
      Oleksandr Byelkin authored
      e5090652
    • Oleksandr Byelkin's avatar
      New CC · c1ea55dd
      Oleksandr Byelkin authored
      c1ea55dd
    • Sergei Petrunia's avatar
      MDEV-23809: Server crash in JOIN_CACHE::free ...: part #2 · 37a3d446
      Sergei Petrunia authored
      Part #2: make sure we allocate space for two JOIN_TABs that
      use temporary tables.
      The dbug_join_tab_array_size is still set to catch cases where
      we try to access more JOIN_TAB object than we thought we would have.
      37a3d446
    • Sergei Petrunia's avatar
      MDEV-23809: Server crash in JOIN_CACHE::free or ... · 2cd98c95
      Sergei Petrunia authored
      The problem was caused by use of COLLATION(AVG('x')). This is an
      item whose value is a constant.
      Name Resolution code called convert_const_to_int() which removed AVG('x').
      However, the item representing COLLATION(...) still had with_sum_func=1.
      
      This inconsistent state confused the code that handles grouping and
      DISTINCT: JOIN::get_best_combination() decided to use one temporary
      table and allocated one JOIN_TAB for it, but then
      JOIN::make_aggr_tables_info() attempted to use two and made writes
      beyond the end of the JOIN::join_tab array.
      
      The fix:
      - Do not replace constant expressions which contain aggregate functions.
      - Add JOIN::dbug_join_tab_array_size to catch attempts to use more
        JOIN_TAB objects than we've allocated.
      2cd98c95
    • Thirunarayanan Balathandayuthapani's avatar
      MDEV-27282 InnoDB: Failing assertion: !query->intersection · f9ec9b6a
      Thirunarayanan Balathandayuthapani authored
      - query->intersection fails to get freed if the query exceeds
      innodb_ft_result_cache_limit
      
      - errors from init_ftfuncs were not propogated by delete command
      
      This is taken from percona/percona-server@ef2c0bcb9a34aeb06de0058d7c2a2969416b35a7
      f9ec9b6a