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

main.alter_table does not work with MSAN with ER_OPTION_PREVENTS_STATEMENT

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.5, 10.6
    • 10.5, 10.6
    • Tests

    Description

      10.5 fb40a2fa

      main.alter_table 'innodb,innodb'         w1 [ fail ]
              Test ended at 2022-02-04 02:28:51
       
      CURRENT_TEST: main.alter_table
      mysqltest: At line 2678: query 'LOCK TABLE t1 WRITE' failed: 1290: The MariaDB server is running with the --max-thread-mem-used=8192 option so it cannot execute this statement
       
      The result from queries just before the failure was:
      < snip >
      #
      create table t1 (a int, key idx1(a), key idx2 using btree(a)) engine=memory;
      alter table t1 rename index idx1 to idx3, algorithm=inplace;
      delete from t1 where a = 10;
      alter table t1 drop key idx3, add key idx1(a), algorithm=inplace;
      ERROR 0A000: ALGORITHM=INPLACE is not supported for this operation. Try ALGORITHM=COPY
      delete from t1 where a = 11;
      drop table t1;
      #
      # MDEV-23836: Assertion `! is_set() || m_can_overwrite_status' in
      # Diagnostics_area::set_error_status (interrupted ALTER TABLE under LOCK)
      #
      SET @max_session_mem_used_save= @@max_session_mem_used;
      CREATE TABLE t1 (a INT);
      SELECT * FROM t1;
      a
      ALTER TABLE x MODIFY xx INT;
      ERROR 42S02: Table 'test.x' doesn't exist
      SET SESSION max_session_mem_used= 8192;
      LOCK TABLE t1 WRITE;
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.