1. 26 Jul, 2022 1 commit
  2. 25 Jul, 2022 1 commit
  3. 09 Jul, 2022 1 commit
    • Monty's avatar
      Fix mysqld--help.test · c3ddffe2
      Monty authored
      Disable printing of provider-... as these differ if
      the modules are static
      c3ddffe2
  4. 08 Jul, 2022 1 commit
  5. 06 Jul, 2022 1 commit
  6. 05 Jul, 2022 1 commit
    • Alexander Barkov's avatar
      MDEV-27015 Assertion `!is_null()' failed in FixedBinTypeBundle<FbtImpl>::Fbt... · c12192b1
      Alexander Barkov authored
      MDEV-27015 Assertion `!is_null()' failed in FixedBinTypeBundle<FbtImpl>::Fbt FixedBinTypeBundle<FbtImpl>::Field_fbt::to_fbt()
      
      The assuption that Field::is_null() is always false when
      Field_fbt::val_native() or Field_fbt::to_fbt() are called
      was wrong.
      
      In some cases, e.g. when this helper Field method is called:
      
        inline String *val_str(String *str, const uchar *new_ptr)
      
      we temporarily reset Field::ptr to some alternative record buffer
      but don't reset null_ptr, so null_ptr still points to null flags
      of the original record. In such cases it's meaningless to test
      the original Field::null_ptr when Field::ptr is temporarily reset:
      they don't relate to each other.
      
      Removing the DBUG_ASSERT.
      c12192b1
  7. 01 Jul, 2022 10 commits
  8. 30 Jun, 2022 6 commits
  9. 29 Jun, 2022 3 commits
  10. 28 Jun, 2022 6 commits
    • Aleksey Midenkov's avatar
      MDEV-28567 MDL debug logging · d89cac08
      Aleksey Midenkov authored
      Log MDL state transitions. Trace-friendly message
      format. DBUG_LOCK_FILE replaced by thread-local storage.
      
      Logged states legend:
        Seized   lock was acquired without waiting
        Waiting  lock is waiting
        Acquired lock was acquired after waiting
        Released lock was released
        Deadlock lock was aborted due to deadlock
        Timeout  lock was aborted due to timeout >0
        Nowait   lock was aborted due to zero timeout
        Killed   lock was aborted due to kill message
        OOM	   can not acquire because out of memory
      
      Usage:
        mtr --mysqld=--debug=d,mdl,query:i:o,/tmp/mdl.log
      
      Cleanup from garbage messages:
        sed -i -re \
        '/(mysql|performance_schema|sys|mtr)\// d; /MDL_BACKUP_/ d' \
        /tmp/mdl.log
      d89cac08
    • Marko Mäkelä's avatar
      Fix a sporadic failure of main.backup_locks · 2fa3ada0
      Marko Mäkelä authored
      Ever since commit 9608773f
      the InnoDB persistent statistics are enabled on all InnoDB tables
      by default. We must filter out any output that indicates that the
      statistics tables are being internally accessed by InnoDB.
      2fa3ada0
    • Monty's avatar
      MDEV-28897 Wrong table.get_ref_count() upon concurrent truncate and backup stage operation · 5e40934d
      Monty authored
      The issue was that flush_tables() didn't take a MDL lock on cached
      TABLE_SHARE before calling open_table() to do a HA_EXTRA_FLUSH call.
      Most engines seams to have no issue with it, but apparantly this conflicts
      with InnoDB in 10.6 when using TRUNCATE
      
      Fixed by taking a MDL lock before trying to open the table in
      flush_tables().
      
      There is no test case as it hard to repeat the scheduling that causes
      the error. I did run the test case in MDEV-28897 to verify
      that the bug is fixed.
      5e40934d
    • Alexander Barkov's avatar
      A cleanup for MDEV-25243 ASAN heap-use-after-free in... · efdbb3cf
      Alexander Barkov authored
      A cleanup for MDEV-25243 ASAN heap-use-after-free in Item_func_sp::execute_impl upon concurrent view DDL and I_S query with view and function
      
      The test was reported to fail sporadicaly with this diff:
      
      --- mysql-test/main/information_schema_tables.result
      +++ mysql-test/main/information_schema_tables.reject
      @@ -21,6 +21,8 @@
       disconnect con1;
       connection default;
       DROP VIEW IF EXISTS vv;
      +Warnings:
      +Note	4092	Unknown VIEW: 'test.vv'
      
      in the "The originally reported non-deterministic test" part.
      Disabling warnings around the DROP VIEW statement.
      efdbb3cf
    • Marko Mäkelä's avatar
      MDEV-18976 fixup: encryption.innodb-redo-nokeys · 02a313dc
      Marko Mäkelä authored
      This test failure is similar to encryption.innodb-redo-badkey,
      which was fixed in commit 0f0a45b2.
      02a313dc
    • Marko Mäkelä's avatar
      Merge 10.6 into 10.7 · ac0af4ec
      Marko Mäkelä authored
      ac0af4ec
  11. 27 Jun, 2022 9 commits