[MDEV-21367] mysqld_safe log don't log to err.log Created: 2019-12-20 Updated: 2020-12-07 Resolved: 2020-12-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients, Server |
| Affects Version/s: | 10.2.29, 10.3.20, 10.5.0, 10.4 |
| Fix Version/s: | 10.2.37, 10.3.28, 10.4.18, 10.5.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | willhan | Assignee: | Anel Husakovic |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
mysqld_safe.sh from https://github.com/MariaDB/server/blob/10.5/scripts/mysqld_safe.sh As the following code in mysqld_safe, the helper would always be "". As a result, we could not record the mysqld_safe log into error log.
"$helper --help >/dev/null 2>&1" would always be 0 in mariadb, so the helper would always be "";
|
| Comments |
| Comment by Anel Husakovic [ 2020-03-05 ] | ||||||||||||||||||||||
|
Indeed, introduced with 6b7918d524d5 in 10.2. | ||||||||||||||||||||||
| Comment by Anel Husakovic [ 2020-03-06 ] | ||||||||||||||||||||||
|
Added to branch bb-10.2-anel-MDEV-21367.
Stop the mysqld_safe daemon and see results:
| ||||||||||||||||||||||
| Comment by Anel Husakovic [ 2020-12-07 ] | ||||||||||||||||||||||
|
Pushed to 10.2 with eb7b14ec9a4e0 |