Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-1527

Incorrect 0 row(s) affected on delete with cross engine join

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.5
    • Fix Version/s: 1.1.6
    • Component/s: MariaDB Server
    • Labels:
      None
    • Sprint:
      2018-14, 2018-15

      Description

      similar to MCOL-1156, which is fxied in 1.1.4 but still exist, if a join with innodb come in play.

      Testcase:

      MariaDB [dtest]> create table t_mcs (id int(11)) engine=Columnstore;
      Query OK, 0 rows affected (0.53 sec)
       
      MariaDB [dtest]> create table t_innodb (id int(11)) engine=InnoDB;
      Query OK, 0 rows affected (0.02 sec)
       
      MariaDB [dtest]> insert into t_mcs (id) values(1),(2),(3);
      Query OK, 3 rows affected, 1 warning (0.19 sec)
      Records: 3  Duplicates: 0  Warnings: 1
       
      MariaDB [dtest]> insert into t_innodb (id) values(1),(2),(3);
      Query OK, 3 rows affected (0.01 sec)
      Records: 3  Duplicates: 0  Warnings: 0
       
      MariaDB [dtest]> delete t_mcs from t_mcs inner join t_innodb using(id);
      Query OK, 0 rows affected, 3 warnings (0.29 sec)
       
      MariaDB [dtest]> select * from t_mcs;
      Empty set, 1 warning (0.02 sec)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dleeyh Daniel Lee
              Reporter:
              Richard Richard Stracke
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.