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

MariaRocks: rocksdb.rocksdb test fails

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: N/A
    • Component/s: OTHER
    • Labels:
      None

      Description

      It fails with this error:

      mysqltest: At line 1692: query 'create table t1 (a int, b text, c varchar(400), Primary Key(a),
       Key(b(2255))) engine=rocksdb' succeeded - should have failed with errno 1071...
      

      The expected execution is:

      create table t1 (a int, b text, c varchar(400), Primary Key(a), Key(b(2255))) engine=rocksdb;
      ...
      SET sql_mode = 'strict_all_tables';
      ERROR 42000: Specified key was too long; max key length is 2048 bytes
      

      The difference is that MariaDB produces a warning, not an error.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psergey Sergei Petrunia
                Reporter:
                psergey Sergei Petrunia
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: