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

main.log_slow test failure: expects count(*) 5 got 4

    XMLWordPrintable

Details

    Description

      I am getting following error with mariadb 10.6.20, 10.11.10 and 11.4.4 (I didn't test other versions):

      CURRENT_TEST: main.log_slow
      --- /var/tmp/portage/dev-db/mariadb-10.6.20/work/mysql/mysql-test/main/log_slow.result  2024-10-29 13:25:00.000000000 -0000
      +++ /var/tmp/portage/dev-db/mariadb-10.6.20/work/mysql/mysql-test/main/log_slow.reject  2024-12-02 12:06:53.788999850 -0000
      @@ -196,7 +196,7 @@
       b`;
       select count(*) from mysql.global_priv where length(priv)>2;
       count(*)
      -5
      +4
       drop database `a
       b`;
       use test;
       
      Result content mismatch
      

      The git bisect pointed to a commit 9af2caca33aa ("Merge branch '10.5' into 10.6"). However, the related change seems to come from commit 8d813f080b51 ("MDEV-34539 Invalid "use" and "Schema" in slow query log file with multi-line schema"), which is part of 10.5.26 and the test pass there. See also https://bugs.gentoo.org/943360

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              arkamar Petr Vaněk
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.