[MCOL-4801] Replace Row methods getStringLength() and getStringPointer() to getConstString() Created: 2021-07-06 Updated: 2021-07-22 Resolved: 2021-07-22 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | PrimProc |
| Affects Version/s: | 6.1.1 |
| Fix Version/s: | 6.3.1 |
| Type: | Task | Priority: | Critical |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
These two methods:
test exactly the same condition isStringTable(colIndex). In 99% cases these two methods are used at the same time. Therefore, the condition is tested two times. Also, under terms of In order to avoid duplicate code and double condition evaluation, let's do the following:
|