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

PCRE2 10.47 breaks main.func_regexp_pcre test

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Blocker
    • Resolution: Unresolved
    • 10.6.24
    • 10.6, 10.11, 11.4, 11.8
    • Tests
    • None
    • Gentoo

    Description

      The main.func_regexp_pcre test fails with PCRE2 10.47 with following error:

      main.func_regexp_pcre                    w4 [ fail ]
              Test ended at 2025-11-07 12:16:25
       
      CURRENT_TEST: main.func_regexp_pcre
      --- /var/tmp/portage/dev-db/mariadb-10.6.24/work/mysql/mysql-test/main/func_regexp_pcre.result  2025-10-25 17:19:57.000000000 -0000
      +++ /var/tmp/portage/dev-db/mariadb-10.6.24/work/mysql/mysql-test/main/func_regexp_pcre.reject  2025-11-07 12:16:24.880118174 -0000
      @@ -791,7 +791,7 @@
       1
       SET default_regex_flags=DEFAULT;
       SELECT 'Aq' RLIKE 'A\\q';
      -ERROR 42000: Regex error 'unrecognized character follows \ at offset 2'
      +ERROR 42000: Regex error 'unrecognized character follows \ at offset 3'
       SET default_regex_flags='EXTRA';
       SELECT 'A' RLIKE 'B';
       'A' RLIKE 'B'
       
      Result content mismatch
       
       - saving '/var/tmp/portage/dev-db/mariadb-10.6.24/temp/var-tests/4/log/main.func_regexp_pcre/' to '/var/tmp/portage/dev-db/mariadb-10.6.24/temp/var-tests/log/main.func_regexp_pcre/'
      

      I bisected the libpcre2 to the commit https://github.com/PCRE2Project/pcre2/commit/7c7a27442279f5b53cd9c1c320e7a5fa662b48e7 which was introduced in PR https://github.com/PCRE2Project/pcre2/pull/756.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              arkamar Petr Vaněk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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