[MCOL-1883] RENAME crashes when tablename contains `/` symbol Created: 2018-11-13 Updated: 2019-03-16 Resolved: 2019-03-16 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MDB Plugin |
| Affects Version/s: | 1.2.1 |
| Fix Version/s: | 1.2.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Roman | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 2019-03 | ||||||||
| Description |
|
Mariadb server code randomly crashes when tablename contains `/`. |
| Comments |
| Comment by Roman [ 2019-03-06 ] | ||
|
Please review. | ||
| Comment by Patrick LeBlanc (Inactive) [ 2019-03-07 ] | ||
|
It will be in the nightly build of dev-1.2 tonight. | ||
| Comment by Daniel Lee (Inactive) [ 2019-03-08 ] | ||
|
Build verified: 1.2.3-1 nightly I could not rename a table with tablename with ‘/’ MariaDB [mytest]> insert into `this/is/test` values (1); MariaDB [mytest]> select * from `this/is/test`;
------
------ MariaDB [mytest]> rename table `this/is/test` to testtable; The same statement works on innodb table. | ||
| Comment by Daniel Lee (Inactive) [ 2019-03-11 ] | ||
|
Build verified: 1.2.3-1 nightly [dlee@cs-tst-06 centos7]$ cat gitversionInfo.txt There was a fix for the latest issue, but the comment was posted to the wrong ticket ( | ||
| Comment by Roman [ 2019-03-13 ] | ||
|
The fix introduced a bug when '/' is used in the middle of a table name. The current implementation uses only a prefix that is from the left of the '/' sign. It doesn't allow to use '/' in the beginning of the table name. | ||
| Comment by Roman [ 2019-03-13 ] | ||
|
Please review. | ||
| Comment by Patrick LeBlanc (Inactive) [ 2019-03-14 ] | ||
|
Merged it | ||
| Comment by Daniel Lee (Inactive) [ 2019-03-16 ] | ||
|
Build verified: 1.2.3-1 |