[MDEV-15743] build_prefix: prefix+category is too long <wait/synch/rwlock/> <proxy_protocol> Created: 2018-03-31 Updated: 2018-04-02 Resolved: 2018-04-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Admin statements |
| Affects Version/s: | 10.3 |
| Fix Version/s: | 10.3.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Start the server with --performance-schema, otherwise defaults.
|
| Comments |
| Comment by Sergey Vojtovich [ 2018-03-31 ] |
|
Introduced in 96ecf3ff 2018-03-21. strlen("wait/synch/rwlock/") + strlen("proxy_protocol") = 32, which perfectly hits limit of 32 for prefix+category length. Either rename "proxy_protocol" (probably easier), or increase limit (probably harder). I would be very careful about increasing limit, I'd expect some PFS code to depend on it. Or at least make sure to analyse it before increasing the limit. Also it'd be nice to replace (and get rid of) pfs_print_error with sql_print_error (don't forget to remove trailing \n). |