[MDEV-26722] connect table truncates table column defined as an utf8 char string Created: 2021-09-29 Updated: 2022-11-11 Resolved: 2022-10-31 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Plugins, Storage Engine - Connect |
| Affects Version/s: | 10.4.21, 10.2, 10.3, 10.4, 10.5, 10.6 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Marc | Assignee: | Andrew Hutchings |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | None | ||
| Environment: |
Linux RH8 |
||
| Issue Links: |
|
||||||||
| Description |
|
After upgrading MariaDB from 10.4.12 to 10.4.21, we observed problems on existing connect tables:
The query is: Looking at the column size in bytes and chars on the table and connect table we can see difference in count for column with multi-bytes char:
And, of course, the accentuated character is not printed as bytes of the character is truncated. Steps to reproduce:
|
| Comments |
| Comment by Marc [ 2021-10-05 ] | ||||||||||||||
|
Hi, have you been able to reproduce the problem? Need any other information? | ||||||||||||||
| Comment by Alice Sherepa [ 2021-10-06 ] | ||||||||||||||
|
Thank you, I could repeat it on current 10.2-10.6, regression since 10.2.37
| ||||||||||||||
| Comment by Marc [ 2022-01-20 ] | ||||||||||||||
|
Hi, Any information when this will be fixed? Regards, Marc | ||||||||||||||
| Comment by long.skinny.boy [ 2022-05-08 ] | ||||||||||||||
|
Hmm, it looks like I have a similar problem It seems to me that the problem started with the updated version Connect 1.07.0002. | ||||||||||||||
| Comment by Andrew Hutchings [ 2022-10-31 ] | ||||||||||||||
|
Closing this one as a duplicate. It is the same problem and I included the test for this ticket in the fix for the other one. |