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

    • 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
    • 10.6.1
    • Compiling
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.