diff options
author | Sergei Petrunia <sergey@mariadb.com> | 2022-04-26 15:18:15 +0300 |
---|---|---|
committer | Sergei Petrunia <sergey@mariadb.com> | 2022-04-26 15:18:15 +0300 |
commit | 2d18943a63ba51657c0e8ff0d4c98b16786a81b0 (patch) | |
tree | 8a74a5f20839ad2378caf6bc794a6813ab6fc5e3 /storage/connect/tabrest.cpp | |
parent | c01ee954bf3b10fef85af7b8c77d319ff7bd6b61 (diff) | |
parent | 9b2d36660bbb4f93c6b9e0761c91d57d47f59196 (diff) | |
download | mariadb-git-bb-10.2-mdev26047.tar.gz |
Merge branch '10.2' of github.com:MariaDB/server into 10.2bb-10.2-mdev26047-v2bb-10.2-mdev26047
Diffstat (limited to 'storage/connect/tabrest.cpp')
-rw-r--r-- | storage/connect/tabrest.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/storage/connect/tabrest.cpp b/storage/connect/tabrest.cpp index c66d8d76f3d..7e8b51714fb 100644 --- a/storage/connect/tabrest.cpp +++ b/storage/connect/tabrest.cpp @@ -112,7 +112,11 @@ int Xcurl(PGLOBAL g, PCSZ Http, PCSZ Uri, PCSZ filename) } // endif f - pID = vfork(); +#ifdef HAVE_VFORK + pID = vfork(); +#else + pID = fork(); +#endif sprintf(fn, "-o%s", filename); if (pID == 0) { |