[MDEV-26564] Server shouldn't set CLIENT_CONNECT_ATTRS if performance_schema is disabled Created: 2021-09-07 Updated: 2023-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Performance Schema |
| Affects Version/s: | 10.2.40, 10.3.31, 10.4.21, 10.5.12, 10.6.4 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Georg Richter | Assignee: | Oleksandr Byelkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | energy | ||
| Attachments: |
|
| Description |
|
Regardless if performance_schema is enabled or disabled, MariaDB server sets CLIENT_CONNECT_ATTRS flag in it's extended capabilities, so client always sends connection attributes. When performance_schema is disabled, the server shouldn't set CLIENT_CONNECT_ATTRS capability flag. This would save storage space, prevent unnecessary extra traffic and help to reduce CO₂ emissions. |