Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-21920

binlog_encryption.rpl_gtid_basic test failure with --ps

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 10.5
    • 10.5.2
    • Protocol
    • None

    Description

      This test:

      ./mtr --ps binlog_encryption.rpl_gtid_basic
      

      is failing as of this 10.5 server commit:

      commit 00749980acf617fbc26b5cdaff6e256a673dab76 (HEAD -> 10.5)
      Author: Varun Gupta <varun.gupta@mariadb.com>
      Date:   Tue Mar 10 18:12:11 2020 +0530
       
          Fixing a compilation failure on windows
      

      with the following output:

      binlog_encryption.rpl_gtid_basic 'cmpr,innodb,mix' [ fail ]
              Test ended at 2020-03-11 22:03:50
       
      CURRENT_TEST: binlog_encryption.rpl_gtid_basic
      --- /home/bar/maria-git/server.10.5.test/mysql-test/suite/binlog_encryption/rpl_gtid_basic.result	2020-03-10 18:20:20.159173938 +0400
      +++ /home/bar/maria-git/server.10.5.test/mysql-test/suite/binlog_encryption/rpl_gtid_basic.reject	2020-03-11 22:03:50.497396584 +0400
      @@ -3,7 +3,7 @@
       *** GTID position should be empty here ***
       SELECT BINLOG_GTID_POS('<BINLOG_FILE>',<BINLOG_POS>);
       BINLOG_GTID_POS('<BINLOG_FILE>',<BINLOG_POS>)
      -
      +�
       CREATE TABLE t1 (a INT PRIMARY KEY, b VARCHAR(10)) ENGINE=MyISAM;
       CREATE TABLE t2 (a INT PRIMARY KEY, b VARCHAR(10)) ENGINE=InnoDB;
       INSERT INTO t1 VALUES (1, "m1");
      

      It seems that the bug was introduced by the following libmariadb commit:

      commit b7047003c5b460f16b901359c68cbe670e52cf07 (HEAD)
      Author: Georg Richter <georg@mariadb.com>
      Date:   Tue Mar 10 17:21:24 2020 +0100
       
          Fixed bug which was introduced in 1218ffac1a9adefd6428e68b6154bc54a04343aa:
          
          Don't return a truncation error (101) in case length is larger than parameter offset.
      

      How to repeat

      Clone the current 10.5, change directory to the newly created tree, then run the following commands:

      git reset --hard 00749980acf617fbc26b5cdaff6e256a673dab76
      cmake .
      cd libmariadb/
      git reset --hard b7047003c5b460f16b901359c68cbe670e52cf07
      cd ..
      git add libmariadb
      make -j8
      cd mysql-test
      ./mtr --ps binlog_encryption.rpl_gtid_basic
      

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.