Details
-
Bug
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Fixed
-
5.5(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5
-
None
Description
...
Generating mysql_fix_privilege_tables_sql.c
The syntax of the command is incorrect.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5): error MSB6006: "cmd.exe" exited with code 1. [C:\C++\10.5\xxx\scripts\GenF
ixPrivs.vcxproj]
What happens is following :
cmake tries to concatenate several files into one, and on Windows it is done with
cmd /c copy /b mysql_system_tables_fix.sql + mysql_system_tables.sql + mysql_performance_tables.sql ${native_outfile}
+ has a special meaning for the copy command, and if ${native_outfile} also contain a + , copy is confused.