[MDEV-4979] mysqld_safe section in my.cnf doesn't have mariadb equivalent Created: 2013-09-02 Updated: 2013-09-19 Resolved: 2013-09-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.32 |
| Fix Version/s: | 5.5.33a |
| Type: | Bug | Priority: | Major |
| Reporter: | Honza Horak | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
MariaDB's binary mysqld respects [mariadb] and [mariadb-5.5] sections in my.cnf. Then, inside mysqld_safe script, settings in the sections above can be read using (read #1)
After that mysqld_safe specific settings is read using (read #2)
Imagine the following my.cnf:
As a result, after log-error setting was read in [mariadb] section (read #1), it is overloaded by mysqld_safe section after that (read #2). Generally, there is no way how to define mysqld_safe settings differently in mariadb. So what I'm proposing is to introduce mariadb specific settings for mysqld_safe, which would mean basically to introduce new section with name for example [mariadb_mysqld_safe]. A patch could be very simple:
|
| Comments |
| Comment by Sergei Golubchik [ 2013-09-19 ] |
|
added [mariadb_safe] section, modified the manpage accordingly |