Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-4039

MyRocks doesnt issue error if CREATE TABLE ... COMPRESSION='...' is specified

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 5.7.19-17
    • Fix Version/s: 5.7.20-18
    • Component/s: MyRocks
    • Labels:
      None

      Description

      mysql> create table t1 (a int not null) compression='zlib' engine=rocksdb;
      Query OK, 0 rows affected (0.04 sec)
      
      mysql> show create table t1;
      +-------+-------------------------------------------------------------------------------------------------------+
      | Table | Create Table |
      +-------+-------------------------------------------------------------------------------------------------------+
      | t1 | CREATE TABLE `t1` (
      `a` int(11) NOT NULL
      ) ENGINE=ROCKSDB DEFAULT CHARSET=latin1 COMPRESSION='zlib' |
      +-------+-------------------------------------------------------------------------------------------------------+
      1 row in set (0.00 sec)
      
      

       

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  george.lorch George Lorch
                  Reporter:
                  george.lorch George Lorch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: