8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:40:38 +01:00

Fixed bug #8292 : run_all PDB fails with "Error calling COPY_XTRA"

This commit is contained in:
Vlad Khorsun 2024-10-24 13:27:22 +03:00
parent eb44a7ecdb
commit f2a03ff6f9

View File

@ -119,8 +119,14 @@ rem version using the available env vars so we test to see if the runtime dir
rem exists and if not we fall back to 3. rem exists and if not we fall back to 3.
rem NOTE 2 This code is likely to break again in the future !!!! rem NOTE 2 This code is likely to break again in the future !!!!
set MSVC_RUNTIME_MINOR_VERSION=%VCToolsVersion:~3,1% set MSVC_RUNTIME_MINOR_VERSION=%VCToolsVersion:~3,1%
if not exist "%VCToolsRedistDir%%VSCMD_ARG_TGT_ARCH%\Microsoft.VC%MSVC_RUNTIME_MAJOR_VERSION%%MSVC_RUNTIME_MINOR_VERSION%.CRT" (
@setlocal EnableDelayedExpansion
if not exist "!VCToolsRedistDir!!VSCMD_ARG_TGT_ARCH!\Microsoft.VC!MSVC_RUNTIME_MAJOR_VERSION!!MSVC_RUNTIME_MINOR_VERSION!.CRT" (
@endlocal
set MSVC_RUNTIME_MINOR_VERSION=3 set MSVC_RUNTIME_MINOR_VERSION=3
) else (
@endlocal
) )
set MSVC_RUNTIME_LIBRARY_VERSION=%MSVC_RUNTIME_MAJOR_VERSION%%MSVC_RUNTIME_MINOR_VERSION% set MSVC_RUNTIME_LIBRARY_VERSION=%MSVC_RUNTIME_MAJOR_VERSION%%MSVC_RUNTIME_MINOR_VERSION%