1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL-4425 INSERT..SELECT hangs on cpimport when MCS is installed in a non-default path

Using absolute path when building cpimport command line for execvp().
This commit is contained in:
Alexander Barkov
2020-12-02 15:43:58 +04:00
parent 6b13fbc210
commit 607ae3f3d1
2 changed files with 4 additions and 1 deletions

View File

@ -43,6 +43,7 @@ using namespace oam;
#include "we_cmdargs.h"
#include "installdir.h"
#include "mcsconfig.h"
namespace WriteEngine
{
@ -598,7 +599,7 @@ void WECmdArgs::parseCmdLineArgs(int argc, char** argv)
if (argc > 0)
fPrgmName = "cpimport.bin"; //argv[0] is splitter but we need cpimport
fPrgmName = string(MCSBINDIR) + "/" + "cpimport.bin"; //argv[0] is splitter but we need cpimport
while ((aCh = getopt(argc, argv,
"d:j:w:s:v:l:r:b:e:B:f:q:ihm:E:C:P:I:n:p:c:ST:Ny:K:t:H:g:U:"))