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

aria_pack fails on 2nd and further Aria tables

    Details

      Description

      Test case
      
      --let $datadir = `SELECT @@datadir`
      
      create table t1 (i int, index(i)) engine=Aria;
      insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8);
      insert into t1 select * from t1;
      insert into t1 select * from t1;
      insert into t1 select * from t1;
      insert into t1 select * from t1;
      insert into t1 select * from t1;
      insert into t1 select * from t1;
      
      create table t2 like t1;
      insert into t2 select * from t1;
      
      --exec $MARIA_PACK $datadir/test/t1.MAI
      --exec $MARIA_PACK $datadir/test/t2.MAI
      

      Result:

      /run/shm/var_auto_BKTg/mysqld.1/data//test/t2.MAI gave error 132 on open
      mysqltest: At line 16: exec of '/data/repo/git/10.1/storage/maria/aria_pack /run/shm/var_auto_BKTg/mysqld.1/data//test/t2.MAI' failed, error: 512, status: 2, errno: 0
      

      Appeared in 5.3 some time between 5.3.5 and 5.3.7.

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                monty Michael Widenius
                Reporter:
                elenst Elena Stepanova
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: