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

CONNECT table is marked as crashed upon DELETE with binlog_format=ROW

    XMLWordPrintable

Details

    Description

      --source include/have_binlog_format_row.inc
       
      INSTALL SONAME 'ha_connect';
      DROP TABLE IF EXISTS t1;
      CREATE TABLE t1 (
        id INT NOT NULL
      ) ENGINE=CONNECT TABLE_TYPE=CSV;
      INSERT INTO t1 VALUES(1),(2);
      DELETE FROM t1;
      

      CURRENT_TEST: bug.t5
      mysqltest: At line 9: query 'DELETE FROM t1' failed: 1194: Table 't1' is marked as crashed and should be repaired
      

      Also, wrongly formatted errors are written to the error log:

      2017-02-08  2:00:17 140686105563904 [Note] CONNECT: Version 1.04.0008 August 10, 2016
      Column id not found
      

      Not reproducible on 10.0.

      Attachments

        Activity

          People

            bertrandop Olivier Bertrand
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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