1. 15 Aug, 2022 1 commit
  2. 11 Aug, 2022 1 commit
    • Rucha Deodhar's avatar
      MDEV-29212: json_overlaps() does not check nested key-value pair correctly · 11d6de70
      Rucha Deodhar authored
      Analysis: JSON_OVERLAPS() does not check nested key-value pair completely.
      If there is nested object, then it only scans and validates if two json values
      overlap until one of the value (which is of type object) is exhausted.
      This does not really check if the two values of keys are exacly the same, instead
      it only checks if key-value pair of one is present in key-value pair of the
      other
      Fix: Normalize the values (which are of type object) and compare
      using string compare. This will validate if two values
      are exactly the same.
      11d6de70
  3. 10 Aug, 2022 14 commits
  4. 09 Aug, 2022 9 commits
  5. 08 Aug, 2022 5 commits
  6. 05 Aug, 2022 3 commits
    • Alexander Barkov's avatar
      MDEV-29159 Patch for MDEV-28918 introduces more inconsistency than it solves, breaks usability · 3ebbfd88
      Alexander Barkov authored
      1. Store assignment failures on incompatible data types now raise errors if:
      - STRICT_ALL_TABLES or STRICT_TRANS_TABLES sql_mode is used, and
      - IGNORE is not used
      
      Otherwise, only a warning is raised and the statement continues.
      
      2. Changing the error/warning test as follows:
      
      -ERROR HY000: Illegal parameter data types inet6 and int for operation 'SET'
      +ERROR HY000: Cannot cast 'int' as 'inet6' in assignment of `db`.`t`.`col`
      
      so in case of a big table it's easier to see which column has the problem.
      The new error text is also applied to SP variables.
      3ebbfd88
    • 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 7 commits