[MCOL-829] Implement stored procedure INSERT...SELECT Created: 2017-07-24 Updated: 2017-12-01 Resolved: 2017-07-25 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MariaDB Server |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.10, 1.1.0 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2017-14, 2017-15 |
| Description |
|
vtable mode only supports SELECT. I believe we can implement INSERT...SELECT by setting the thd->infinidb_vtable.isInsertSelect flag when one is found. |
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2017-07-24 ] | ||||||||
|
Test case:
Before the fix this will error with:
After the fix it will execute the INSERT...SELECT correctly. | ||||||||
| Comment by Andrew Hutchings (Inactive) [ 2017-07-24 ] | ||||||||
|
Pull requests for 1.0 and 1.1 as well as both versions of the regression suite. | ||||||||
| Comment by Daniel Lee (Inactive) [ 2017-07-25 ] | ||||||||
|
Builds verified: Github source 1.0.10, 1.1.0 Reproduced the issue in 1.0.9-1. 1.0.10 [root@localhost mariadb-columnstore-server]# git show [root@localhost mariadb-columnstore-engine]# git show 1.1.0 [root@localhost mariadb-columnstore-server]# git show [root@localhost mariadb-columnstore-engine]# git show |