[MCOL-5437] columnstore fails to compile to due old cs->casedn_multiply use Created: 2023-02-23 Updated: 2023-05-08 Resolved: 2023-04-11 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MariaDB Server |
| Affects Version/s: | None |
| Fix Version/s: | 6.4.7- CS only |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Daniel Black | Assignee: | Roman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
With |
| Comments |
| Comment by Alexander Barkov [ 2023-02-23 ] | ||||||||||||||||||||||||||
|
This patch should fix the problem:
| ||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2023-02-23 ] | ||||||||||||||||||||||||||
|
Ideally we need a solution that works for all server versions starting from 10.6 | ||||||||||||||||||||||||||
| Comment by Daniel Black [ 2023-02-23 ] | ||||||||||||||||||||||||||
|
Like:
(except neater) | ||||||||||||||||||||||||||
| Comment by Andrew Hutchings [ 2023-03-03 ] | ||||||||||||||||||||||||||
|
danblack That works for 10.10, but 10.11 and 11.0 are also broken in the same way. The `#if` might get quite complicated quite quickly. | ||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2023-03-03 ] | ||||||||||||||||||||||||||
|
TheLinuxJedi, danblack, something like this should probably work:
| ||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2023-03-03 ] | ||||||||||||||||||||||||||
|
Another option (to avoid this cumbersome #if duplication) would be to move this code into a shared header file:
and include it from func_lcase.cpp and func_ucase.cpp. | ||||||||||||||||||||||||||
| Comment by Daniel Black [ 2023-03-03 ] | ||||||||||||||||||||||||||
|
There's no point over complicating it. The git submodule ties the columnstore to the server version. So if you when back to 11.0.1, the git submodule would go to a previous columnstore version that didn't have this change. | ||||||||||||||||||||||||||
| Comment by Roman [ 2023-03-23 ] | ||||||||||||||||||||||||||
|
danblack TheLinuxJedi AFAIK the issue has been resolved. Am I right? | ||||||||||||||||||||||||||
| Comment by Daniel Black [ 2023-03-23 ] | ||||||||||||||||||||||||||
|
Yes. and serg committed the submodule update in the server with commit 5f33351f48557fa09d5ebcf9864c33bfa296cd8e. Thanks for the fix. |