[MDEV-25710] Dead code os_file_opendir() in the server Created: 2021-05-18 Updated: 2023-09-26 Resolved: 2021-05-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Embedded Server, mariabackup, Server |
| Affects Version/s: | 10.4, 10.5, 10.6 |
| Fix Version/s: | 10.6.1, 10.4.20, 10.5.11 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
The functions fil_file_readdir_next_file(), os_file_opendir(), os_file_closedir() became dead code in the server in MariaDB 10.4.0 with the removal of the crash recovery logic for the TRUNCATE implementation that was introduced in MariaDB Server 10.2.2 and replaced in These functions are only used in mariabackup and not in MariaDB Server at all. Hence, the code must be moved to mariabackup. |