[MCOL-4689] Spurious [135B blob data] being put into PrimPrim jounralctl records Created: 2021-04-21 Updated: 2021-05-03 Resolved: 2021-04-22 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | PrimProc |
| Affects Version/s: | 5.5.2, 6.1.1 |
| Fix Version/s: | 5.6.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Roman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2021-7 |
| Description |
|
Journalctl displays these weird records:
Running journalctl with --all helps to reveal what's the problem:
Tracing the code revealed that this message is displayed by get_charset() function calls, which obviously gets and invalid charset ID as an argument. Further tracing revealed that the wrong charset ID is set in storage/columnstore/columnstore/dbcon/mysql/ha_mcs_execplan.cpp in this functions:
This looks wrong. It should set charset ID either from my_charset_bin, or from the corresponding Field object. It seems the problem was introduced by |