[MCOL-4094] Syntax error in columnstore-post-install in 1.5.2: -bash: [: too many arguments Created: 2020-06-23 Updated: 2022-06-02 Resolved: 2022-03-03 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 1.5.2 |
| Fix Version/s: | 6.3.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Geoff Montee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Sprint: | 2021-17 | ||||||||||||||||
| Description |
|
columnstore-post-install has a syntax error in 1.5.2. The problem is with the following line: It results in errors like this:
The problem appears to happen because $pid is not surrounded in quotes. It is easy enough to reproduce with the following bash snippet:
It is fixed by quoting $pid. For example:
This is with the following bash version and OS:
|
| Comments |
| Comment by Roman [ 2022-02-03 ] |
|
Plz review. |
| Comment by Roman [ 2022-03-03 ] |
|
GeoffMontee plz re-open if you test it and find it wasn't fixed. |