[MCOL-4303] UPDATE..SET using another table is not updating Created: 2020-09-09 Updated: 2020-11-12 Resolved: 2020-09-15 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 1.0.0 |
| Fix Version/s: | 5.4.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Bharath Bokka (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2020-8 |
| Description |
|
Build: 595 Repro:
Innodb:
Older build 518 results matched with Innodb and so its a regression. |
| Comments |
| Comment by Daniel Lee (Inactive) [ 2020-09-15 ] | ||||||||||||||
|
Build verified: 1.5.4-1 (drone 631) Welcome to the MariaDB monitor. Commands end with ; or \g. Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [mytest]> CREATE TABLE t1 (a INT NOT NULL, b INT NOT NULL) ENGINE=Columnstore; MariaDB [mytest]> INSERT INTO t1 VALUES (1,1),(1,2),(1,3),(2,1),(2,2),(2,3); MariaDB [mytest]> CREATE TABLE t2 (a INT NOT NULL, b INT NOT NULL) ENGINE=Columnstore; MariaDB [mytest]> INSERT INTO t2 VALUES (1,1),(1,2),(1,3); MariaDB [mytest]> UPDATE t1 SET b=(SELECT b FROM t2 ORDER BY b LIMIT 1); MariaDB [mytest]>
--
-- |