mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Test tabrest.cpp fix
This commit is contained in:
@@ -100,7 +100,6 @@ int Xcurl(PGLOBAL g, PCSZ Http, PCSZ Uri, PCSZ filename)
|
|||||||
{
|
{
|
||||||
char buf[512];
|
char buf[512];
|
||||||
int rc = 0;
|
int rc = 0;
|
||||||
FILE *pipe;
|
|
||||||
|
|
||||||
if (strchr(filename, '"')) {
|
if (strchr(filename, '"')) {
|
||||||
strcpy(g->Message, "Invalid file name");
|
strcpy(g->Message, "Invalid file name");
|
||||||
@@ -150,7 +149,7 @@ int Xcurl(PGLOBAL g, PCSZ Http, PCSZ Uri, PCSZ filename)
|
|||||||
strcpy(g->Message, "curl CLI not installed");
|
strcpy(g->Message, "curl CLI not installed");
|
||||||
return 1;
|
return 1;
|
||||||
} else
|
} else
|
||||||
close(f);
|
pclose(f);
|
||||||
|
|
||||||
pID = vfork();
|
pID = vfork();
|
||||||
sprintf(fn, "-o%s", filename);
|
sprintf(fn, "-o%s", filename);
|
||||||
|
Reference in New Issue
Block a user