[MDEV-10774] weird result with myisam, group_concat and bit column Created: 2016-09-08 Updated: 2023-09-19 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - MyISAM |
| Affects Version/s: | 10.0.22, 5.5, 10.0, 10.1, 10.2, 10.3 |
| Fix Version/s: | 10.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Patrick Schaaf | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
openSUSE linux |
||
| Issue Links: |
|
||||||||
| Description |
|
A colleague noted weird results for a certain SELECT involving
Test case:
The first three selects are OKAY. The last two... show val as bit value 1 for in BOTH result rows. The last select even shows the correct bit values 0 and 1 respectively in the GROUP_CONCATted colum, but again both rows have val as bit value 1. The results are correct when I replace ENGINE=MyISAM with InnoDB. This happens on mariadb 5.5.28 and 10.0.22, both as packaged by openSUSE (11.4 and tumbleweed, respectively) |
| Comments |
| Comment by Elena Stepanova [ 2016-09-19 ] |
|
Reproducible on all of 5.5-10.2 and MySQL 5.5-5.7. There was a somewhat similar upstream bug https://bugs.mysql.com/bug.php?id=56570 which is now closed as 'Not a bug', although I don't quite understand the reasoning. |