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

CONNECT tests fail if compiled without performance schema

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.0.5
    • Fix Version/s: 10.0
    • Component/s: None
    • Labels:
    • Environment:
      cmake -DWITH_PERFSCHEMA_STORAGE_ENGINE=OFF
      mtr --suite=connect

      Description

      Failing tests: connect.bin connect.csv connect.dbf connect.dir connect.fix connect.fmt connect.general connect.grant connect.index connect.ini.

      Failure example:
      CURRENT_TEST: connect.null
      mysqltest: At line 14: query 'INSERT INTO t1 values(10,4,NULL),(20,2,'Hello'),(0,0,'Zero')' failed: 1296: Got error 174 'Open(a+b) error 2 on /./test/t1.fix: No such file or directory' from CONNECT

      The result from queries just before the failure was:
      #

      1. Testing FIX null columns
        #
        CREATE TABLE t1
        (
        id INT NOT NULL,
        nb INT,
        msg VARCHAR(12)
        ) ENGINE=CONNECT TABLE_TYPE=FIX;
        Warnings:
        Warning 1105 No file name. Table will use t1.fix
        Warning 1105 Error 2 creating file /./test/t1.fix
        INSERT INTO t1 values(NULL,1,'Hello');
        ERROR 23000: Column 'id' cannot be null
        INSERT INTO t1 values(10,4,NULL),(20,2,'Hello'),(0,0,'Zero');

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                bar Alexander Barkov
                Reporter:
                svoj Sergey Vojtovich
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: