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

Server hangs when using --init-file which loads Spider and creates a Spider table

    XMLWordPrintable

Details

    Description

      This issue is high priority as it affects Spider testing.

      # mysqld options required for replay:  --init-file=${PWD}/in.sql
       
      $ cat in.sql
      INSTALL PLUGIN spider SONAME 'ha_spider.so';
      USE test;
      CREATE TABLE t (c INT) ENGINE=SPIDER;
      

      Will make the server hang on startup. Attempted CLI connects will also hang. Removing either the INSTALL PLUGIN or the USE test from the testcase will make the server start correctly.

      Bug confirmed present in:
      MariaDB: 10.4.23 (dbg), 10.4.23 (opt), 10.5.14 (dbg), 10.5.14 (opt), 10.6.6 (dbg), 10.6.6 (opt), 10.7.2 (dbg), 10.7.2 (opt), 10.8.0 (dbg), 10.8.0 (opt)

      Bug (or feature/syntax) confirmed not present in:
      MariaDB: 10.2.42 (dbg), 10.2.42 (opt), 10.3.33 (dbg), 10.3.33 (opt)

      Attachments

        Issue Links

          Activity

            People

              ycp Yuchen Pei
              Roel Roel Van de Paar
              Votes:
              0 Vote for this issue
              Watchers:
              6 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.