Bug #56349 Scripts using replace fail on Win32 due to OS replace command

Submitted: 29 Aug 2010 20:35 Modified: 30 Aug 2010 13:20
Reporter: Guenter K Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:all OS:Windows
Assigned to: CPU Architecture:Any

[29 Aug 2010 20:35] Guenter K
Description:
Please consider to rename the mysql commandline replace with a prefix, f.e. mysqlreplace. The issue is that at least Windows OS ships its own replace, and so its only a matter of the search path order which replace is used if you call it from commandline, or from scripts.
This issue has biten me now 2nd time - even recently on Linux where someone installed a replace shell script ...
'replace' is a too generic name - please rename to make clear its a mysql binary.

thanks, Günter.

How to repeat:
open win32 cmd box; type 'replace /?'
[30 Aug 2010 13:20] MySQL Verification Team
Thank you for the bug report.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.