1. 15 May, 2023 1 commit
  2. 12 May, 2023 3 commits
    • Tuukka Pasanen's avatar
      MDEV-30951: Fix small perlcritic and enable modern Perl · f522b0f2
      Tuukka Pasanen authored
      Add Modern Perl headers. Perl 5.16 is still fairly
      old from 2012.
      
      Enable UTF-8, warnings and make script 'strict'
      
      Small fixes for perlcritic reported problems and some crashes
      
      I/O layer ":utf8" used at line 268, column 16.  Use ":encoding(UTF-8)" to get strict validation.  (Severity: 5)
      "return" statement with explicit "undef" at line 806, column 4.  See page 199 of PBP.  (Severity: 5)
      "return" statement with explicit "undef" at line 6844, column 4.  See page 199 of PBP.  (Severity: 5)
      "return" statement with explicit "undef" at line 7524, column 4.  See page 199 of PBP.  (Severity: 5)
      "return" statement with explicit "undef" at line 7527, column 4.  See page 199 of PBP.  (Severity: 5)
      "return" statement with explicit "undef" at line 7599, column 4.  See page 199 of PBP.  (Severity: 5)
      "return" statement with explicit "undef" at line 7602, column 4.  See page 199 of PBP.  (Severity: 5)
      Expression form of "eval" at line 7784, column 4.  See page 161 of PBP.  (Severity: 5)
      Expression form of "eval" at line 7806, column 4.  See page 161 of PBP.  (Severity: 5)
      Glob written as <...> at line 8016, column 25.  See page 167 of PBP.  (Severity: 5)
      "return" statement followed by "sort" at line 9195, column 60.  Behavior is undefined if called in scalar context.  (Severity: 5)
      Expression form of "eval" at line 9846, column 10.  See page 161 of PBP.  (Severity: 5)
      f522b0f2
    • Marko Mäkelä's avatar
      MDEV-31254 InnoDB: Trying to read doublewrite buffer page · c9eff1a1
      Marko Mäkelä authored
      buf_read_page_low(): Remove an error message and a debug assertion
      that can be triggered when using innodb_page_size=4k and
      innodb_file_per_table=0. In that case, buf_read_ahead_linear()
      may be invoked on page 255, which is one less than the first
      page of the doublewrite buffer (256).
      c9eff1a1
    • Marko Mäkelä's avatar
      MDEV-31253 Freed data pages are not always being scrubbed · 477285c8
      Marko Mäkelä authored
      fil_space_t::flush_freed(): Renamed from buf_flush_freed_pages();
      this is a backport of aa458506 from 10.6.
      Invoke log_write_up_to() on last_freed_lsn, instead of avoiding
      the operation when the log has not yet been written.
      A more costly alternative would be that log_checkpoint() would invoke
      this function on every affected tablespace.
      477285c8
  3. 11 May, 2023 6 commits
  4. 10 May, 2023 2 commits
  5. 08 May, 2023 4 commits
  6. 05 May, 2023 4 commits
    • Sergei Petrunia's avatar
      MDEV-31199: Assertion `field->table->stats_is_read' fails with hash_join_cardinality=on · a24f2bb5
      Sergei Petrunia authored
      Derived table creation code would call Field::make_new_field() which would
      memcpy the Field object from the source table, including Field::read_stats.
      
      But the temp. table as a whole had table->stats_is_read=false. Which was
      correct but not consistent with Field::read_stats and caused an assertion.
      
      Fixed by making sure that Field::read_stats=NULL for fields in the new
      temporary (i.e. work) tables.
      a24f2bb5
    • Oleksandr Byelkin's avatar
      Merge branch '10.5' into 10.6 · 1c394795
      Oleksandr Byelkin authored
      1c394795
    • Oleksandr Byelkin's avatar
      Merge branch '10.4' into 10.5 · b735ca47
      Oleksandr Byelkin authored
      b735ca47
    • Sergei Petrunia's avatar
      MDEV-31194: Server crash or assertion failure with join_cache_level=4 · 2594da7a
      Sergei Petrunia authored
      The problem, introduced in patch for MDEV-26301:
      
      When check_join_cache_usage() decides not to use join buffer, it must
      adjust the access method accordingly. For BNL-H joins this means switching
      from pseudo-"ref access"(with index=MAX_KEY) to some other access method.
      
      Failing to do this will cause assertions down the line when code that is
      not aware of BNL-H will try to initialize index use for ref access with
      index=MAX_KEY.
      
      The fix is to follow the regular code path to disable the join buffer for
      the join_tab ("goto no_join_cache") instead of just returning from
      check_join_cache_usage().
      2594da7a
  7. 04 May, 2023 10 commits
  8. 03 May, 2023 8 commits
  9. 02 May, 2023 2 commits