[MDEV-11359] Implement IGNORE for bulk operation Created: 2016-11-26 Updated: 2016-11-29 Resolved: 2016-11-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Fix Version/s: | 10.2.3 |
| Type: | Task | Priority: | Major |
| Reporter: | Oleksandr Byelkin | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Implement IGNORE indicator for bulk operation parameters as was with DEFAULT. For implementing SQL_COLUMN_IGNORE in odbc https://msdn.microsoft.com/en-us/library/ms711010(v=vs.85).aspx For INSERT & REPLACE it will insert default value. To make possible printing statements with ignored parameters with having legal index we also implement IGNORE "function" with no parameters (same as DEFAULT syntax) for UPDATE/INSERT/REPLACE. |
| Comments |
| Comment by Alexander Barkov [ 2016-11-27 ] |
|
As agreed, Sanja will add IGNORE as a possible dynamic SQL bind value, and add test based on it. |
| Comment by Alexander Barkov [ 2016-11-29 ] |
|
This patch is OK to push: Subject: [Commits] cefa676: I'd suggest to extend tests though, using the tests from Thanks. |