[MCOL-5281] INSERT IGNORE is incorrectly supported Created: 2022-10-27 Updated: 2023-10-27 Resolved: 2023-10-27 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MDB Plugin |
| Affects Version/s: | 22.08.2 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergey Zefirov | Assignee: | Leonid Fedorov |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | beginner-friendly | ||
| Description |
|
INSERT IGNORE performs insertion attempt for single row insert and results in "INSERT IGNORE is unsupported" for several rows insertion. Here's session that demonstrate problematiic behavior:
|
| Comments |
| Comment by jiawei liang [ 2023-04-17 ] | |||||||
|
Hello , I have found where the problem is and in my version of code it works like this.Is that ok? Or should I make "INSERT IGNORE is unsupported" for single row insert ? MariaDB [(none)]> use test; MariaDB [test]> insert into t values (1),(2),(3); MariaDB [test]> insert ignore into t values (1); MariaDB [test]> insert ignore into t values (1),(2); MariaDB [test]> select * from t;
------
------ | |||||||
| Comment by Roman [ 2023-04-18 ] | |||||||
|
Hey jiawei liang. |