8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 16:43:03 +01:00

Built complete

This commit is contained in:
AlexPeshkoff 2024-06-21 17:52:34 +03:00
parent 001b93bdb5
commit 36205c0371
3 changed files with 13 additions and 2 deletions

View File

@ -162,7 +162,7 @@
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the `fdatasync' function. */
#define HAVE_FDATASYNC 1
/* #undef HAVE_FDATASYNC */
/* Define to 1 if you have the `fegetenv' function. */
#define HAVE_FEGETENV 1
@ -590,7 +590,7 @@
#define STDC_HEADERS 1
/* Define this if databases on raw devices should be supported */
#define SUPPORT_RAW_DEVICES 1
/* #undef SUPPORT_RAW_DEVICES */
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1

View File

@ -4235,6 +4235,9 @@ static processing_state copy_table(TEXT* source,
{
fclose(isqlGlob.Out);
#ifdef IOS
STDERROUT("Table copy not supported on iOS");
#else
// easy to make a copy in another database
const TEXT* altdb = isqlGlob.global_Db_name;
if (*otherdb)
@ -4246,6 +4249,7 @@ static processing_state copy_table(TEXT* source,
IUTILS_msg_get(COPY_ERR, errbuf, SafeArg() << destination << altdb);
STDERROUT(errbuf);
}
#endif
}
unlink(ftmp.c_str());
@ -5022,6 +5026,9 @@ static processing_state escape(const TEXT* cmd)
if (!*shellcmd)
shellcmd = emptyCmd;
#ifdef IOS
return FAIL;
#else
const int rc = system(shellcmd);
#ifdef WIN_NT
@ -5032,6 +5039,7 @@ static processing_state escape(const TEXT* cmd)
#endif
return rc ? FAIL : SKIP;
#endif // IOS
}

View File

@ -251,6 +251,9 @@ namespace Replication
DWORD exitCode = 0;
GetExitCodeProcess(seInfo.hProcess, &exitCode);
return (int) exitCode;
#elif defined(IOS)
errno = EPERM;
return -1;
#else
return system(command.c_str());
#endif