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

UPDATE always returns "0 rows affected"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.2
    • Component/s: DMLProc
    • Labels:
      None

      Description

      Build tested: 1.4.0-1

      engine commit:
      1f47534

      MariaDB [mytest]> select * from t2;
      ------

      c1

      ------

      5

      ------
      1 row in set (0.012 sec)

      MariaDB [mytest]> update t2 set c1=6;
      Query OK, 0 rows affected (0.325 sec)
      Rows matched: 0 Changed: 0 Warnings: 0

      MariaDB [mytest]> select * from t2;
      ------

      c1

      ------

      6

      ------
      1 row in set (0.009 sec)

      MariaDB [mytest]> select count from orders;
      ----------

      count

      ----------

      1500000

      ----------
      1 row in set (0.097 sec)

      MariaDB [mytest]> update orders set o_orderkey = 1;
      Query OK, 0 rows affected (2.565 sec)
      Rows matched: 0 Changed: 0 Warnings: 0

      MariaDB [mytest]> select count from orders where o_orderkey = 1;
      ----------

      count

      ----------

      1500000

      ----------
      1 row in set (0.127 sec)

        Attachments

          Activity

            People

            Assignee:
            dleeyh Daniel Lee
            Reporter:
            dleeyh Daniel Lee
            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.