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

LOCK TABLE on RocksDB table fails with a bogus error message

    XMLWordPrintable

Details

    Description

      MariaDB [test]> select @@log_bin, @@binlog_format;
      +-----------+-----------------+
      | @@log_bin | @@binlog_format |
      +-----------+-----------------+
      |         1 | ROW             |
      +-----------+-----------------+
      1 row in set (0.00 sec)
       
      MariaDB [test]> CREATE TABLE t1 (i INT) ENGINE=RocksDB;
      Query OK, 0 rows affected (0.08 sec)
       
      MariaDB [test]> LOCK TABLE t1 WRITE;
      ERROR 1105 (HY000): Can't execute updates on master with binlog_format != ROW.
      

      MTR test case

      --source include/have_log_bin.inc
      --source include/have_binlog_format_mixed.inc
       
      INSTALL SONAME 'ha_rocksdb';
      CREATE TABLE t1 (i INT) ENGINE=RocksDB;
      LOCK TABLE t1 WRITE;
       
      DROP TABLE t1;
      

      Attachments

        Activity

          People

            psergei Sergei Petrunia
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.