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

Rows affected returns wrong number after self-join update

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • develop-23.02

    Description

      Steps to reproduce:

      drop table if exists a;
      create table a (a char(20)) engine=columnstore;
      insert into a values ('x');
      select * from a;
      update a join a y on a.a = y.a set a.a='99';

      Expected result:
      after update there should be a message:
      Query OK, 1 row affected

      Actual result:
      Query OK, 0 row affected

      Reproduces on develop-23.02,
      while on stable-23.10 it works as expected
      Catched by test297 in regression

      Attachments

        Issue Links

          Activity

            People

              leonid.fedorov Leonid Fedorov
              abukhalov Aleksei Bukhalov
              Aleksei Bukhalov Aleksei Bukhalov
              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.