[MCOL-877] Not all data escaped when inserting with select statement from innodb table into columnstore Created: 2017-08-16 Updated: 2017-11-27 Resolved: 2017-10-25 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | cpimport, DMLProc |
| Affects Version/s: | 1.0.9, 1.0.10 |
| Fix Version/s: | 1.0.12, 1.1.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Matthew Minix | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Centos 7 |
||
| Issue Links: |
|
||||||||||||||||
| Sprint: | 2017-18, 2017-19, 2017-20, 2017-21 | ||||||||||||||||
| Description |
|
It seems that however cpimport imports data from a select insert is having trouble when the table has at least 2 fields with more than one backslash (and ending with a backslash). The error can be reproduced with the SQL below:
It looks like the last value isn't properly escaped and so expects more data to be inserted, but that may be a misunderstanding of what it's doing on my part. Either way, it fails and locks the table. |
| Comments |
| Comment by Matthew Minix [ 2017-08-16 ] |
|
I think this is similar to |
| Comment by Andrew Hutchings (Inactive) [ 2017-08-16 ] |
|
Hi Matthew, Thanks for the report. It is similar but not the same. It is more likely to be breaking in the row processor in our plugin before the data is sent to cpimport. |
| Comment by Andrew Hutchings (Inactive) [ 2017-09-15 ] |
|
Pull request for 1.0 and 1.1. Don't merge 1.1 until after 1.1.0. For QA: see description (need to create database data first) |
| Comment by Daniel Lee (Inactive) [ 2017-10-25 ] |
|
Build verified: Github source for 1.1.1-1 /root/columnstore/mariadb-columnstore-server Merge pull request #72 from mariadb-corporation/ /root/columnstore/mariadb-columnstore-server/mariadb-columnstore-engine removed duplicaue entries Build verified: Github source for 1.0.12-1 /root/columnstore/mariadb-columnstore-server Merge pull request #69 from mariadb-corporation/ /root/columnstore/mariadb-columnstore-server/mariadb-columnstore-engine Merge pull request #300 from mariadb-corporation/ Repeated test case in ticket description |