Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-22479

Windows : build does not work, if build directory contains plus character

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 5.5, 10.1, 10.2, 10.3, 10.4, 10.5
    • Fix Version/s: 10.1, 10.2, 10.3, 10.4, 10.5
    • Component/s: Compiling
    • Labels:
      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.

        Attachments

          Activity

            People

            Assignee:
            wlad Vladislav Vaintroub
            Reporter:
            wlad Vladislav Vaintroub
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: