WL#9874: Deprecate and remove the replace utility
Affects: Server-8.0
—
Status: Complete
The replace utility program changes strings in place in files or on the standard
input.
https://dev.mysql.com/doc/refman/5.7/en/replace-utility.html
This utility is not used by us internally and it is not a natural part of MySQL.
This WL is about deprecating this utility (5.7 server) and remove it (8.0 server).
User Documentation
==================
http://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-18.html
http://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html
Also, the replace section was removed from refman-8.0.
NF-1: Deprecation warning emitted when replace is used on 5.7.
NF-2: Replace utility removed in 8.0
Remove extra/replace.c and adjust extra/CMakeLists.txt
Remove the reference to replace in MTR.
Remove the Windows-only regression test in main.windows
Copyright (c) 2000, 2025, Oracle Corporation and/or its affiliates. All rights reserved.