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

UPDATE always returns "0 rows affected"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.2
    • DMLProc
    • 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

            dleeyh Daniel Lee (Inactive)
            dleeyh Daniel Lee (Inactive)
            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.