1. 10 Sep, 2021 3 commits
  2. 09 Sep, 2021 6 commits
  3. 08 Sep, 2021 1 commit
    • Eugene Kosov's avatar
      MDEV-25951 MariaDB crash after ALTER TABLE convert to utf8mb4 · a4b3970c
      Eugene Kosov authored
      Bug happens when partially indexed CHAR or VARCHAR field in converted from
      utf8mb3 to utf8mb4.
      
      Fixing by relaxing assertions. For some time dict_index_t and dict_table_t
      are becoming not synchronized. Namely, dict_index_t has a new prefix_len which
      is a multiple of a user-provided length and charset->mbmaxlen. But
      the table still have and old mbmaxlen and assertion fails. This happens only
      during utf8mb3 -> utf8mb4 conversions and the magic number 4 comes from
      utf8mb_4_.
      
      At the end of ALTER TABLE (innobase_rename_or_enlarge_columns_cache())
      dict_index_t and dict_table_t became synchronized
      again and will stay so at all times. For, example, they will be synchronized
      on table load and newly added assertion proves that.
      a4b3970c
  4. 07 Sep, 2021 9 commits
  5. 06 Sep, 2021 8 commits
  6. 05 Sep, 2021 3 commits
    • Daniel Black's avatar
      MDEV-12055 binlog.binlog_stm_ctype_ucs postfix · 38648bbb
      Daniel Black authored
      As highlighted in https://bugs.gentoo.org/807995,
      people occasionaly run tests in the 20:00->23:59:59 time range.
      
      Fixes 265e3253
      
      binlog.binlog_stm_ctype_ucs 'mix'        w1 [ fail ]
              Test ended at 2021-08-11 22:55:35
      
      CURRENT_TEST: binlog.binlog_stm_ctype_ucs
      --- /var/tmp/portage/dev-db/mariadb-10.5.11/work/mysql/mysql-test/suite/binlog/r/binlog_stm_ctype_ucs.result    2021-06-18 18:19:11.000000000 +0800
      +++ /var/tmp/portage/dev-db/mariadb-10.5.11/work/mysql/mysql-test/suite/binlog/r/binlog_stm_ctype_ucs.reject    2021-08-11 22:55:34.993447479 +0800
      @@ -76,21 +76,21 @@
       /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
       DELIMITER /*!*/;
       # at #
      -#YYMMDD HH:MM:SS server id #  end_log_pos # CRC32 XXX  Start: binlog v 4, server v #.##.## created YYMMDD HH:MM:SS
      +#210811 22:55:34 server id #  end_log_pos # CRC32 XXX  Start: binlog v 4, server v #.##.## created 210811 22:55:34
      38648bbb
    • Daniel Black's avatar
      MDEV-26529: binlog.binlog_flush_binlogs_delete_domain fails on RISC-V · 21d31b99
      Daniel Black authored
      Per https://bugs.gentoo.org/807995
      
      The test failed with:
      
      CURRENT_TEST: binlog.binlog_flush_binlogs_delete_domain
      — /tmp/mariadb-10.5.11/mysql-test/suite/binlog/r/binlog_flush_binlogs_delete_domain.result 2021-06-18 18:19:11.000000000 +0800
      +++ /tmp/mariadb-10.5.11/mysql-test/suite/binlog/r/binlog_flush_binlogs_delete_domain.reject 2021-09-01 22:55:29.406655479 +0800
      @@ -85,6 +85,6 @@
      ERROR HY000: The value of gtid domain being deleted ('4294967296') exceeds its maximum size of 32 bit unsigned integer
      FLUSH BINARY LOGS DELETE_DOMAIN_ID = (4294967295);
      Warnings:
      -Warning 1076 The gtid domain being deleted ('4294967295') is not in the current binlog state
      +Warning 1076 The gtid domain being deleted ('18446744073709551615') is not in the current binlog state
      DROP TABLE t;
      RESET MASTER;
      
      mysqltest: Result length mismatch
      
      ptr_domain_id is a uint32* so explicitly cast this when printing it out.
      
      Thanks Marek Szuba for the bug report and testing the patch.
      21d31b99
    • Oleksandr Byelkin's avatar
      MDEV-26362: incorrect nest_level value with INTERSECT · 391f6b4f
      Oleksandr Byelkin authored
      Add DBUG_ASSERT (should be kept in merge)
      Fix nest_level assignment in LEX::add_unit_in_brackets (should be ignored in merge to 10.4)
      391f6b4f
  7. 04 Sep, 2021 1 commit
    • Vladislav Vaintroub's avatar
      MDEV-26533 MariaDB 10.5 crashes with key_buffer_size > 4Gb on Windows x64 · a1b0f235
      Vladislav Vaintroub authored
      This is a side-effect of my_large_malloc() introduction,MDEV-18851
      
      It removed a cast to size_t to variable 'blocks' in
      multiplication blocks * keycache->key_cache_block_size , creating ulong value
      instead of correct size_t.
      
      
      Replaced a couple of ulongs with appropriate data type, which is size_t.
      
      Also, fixed casts to ulongs in crash handler messages, so that people would
      not be confused by that, too.
      
      Interestingly, aria did not expose the same problem even if it contains
      copied and pasted code in ma_pagecache, because Aria had some ulongs removed
      when fixing a similar problem in MDEV-9256.
      a1b0f235
  8. 02 Sep, 2021 3 commits
  9. 01 Sep, 2021 6 commits