mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:43:03 +01:00
Built complete
This commit is contained in:
parent
001b93bdb5
commit
36205c0371
@ -162,7 +162,7 @@
|
|||||||
#define HAVE_FCNTL_H 1
|
#define HAVE_FCNTL_H 1
|
||||||
|
|
||||||
/* Define to 1 if you have the `fdatasync' function. */
|
/* 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 to 1 if you have the `fegetenv' function. */
|
||||||
#define HAVE_FEGETENV 1
|
#define HAVE_FEGETENV 1
|
||||||
@ -590,7 +590,7 @@
|
|||||||
#define STDC_HEADERS 1
|
#define STDC_HEADERS 1
|
||||||
|
|
||||||
/* Define this if databases on raw devices should be supported */
|
/* 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 to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||||
#define TIME_WITH_SYS_TIME 1
|
#define TIME_WITH_SYS_TIME 1
|
||||||
|
@ -4235,6 +4235,9 @@ static processing_state copy_table(TEXT* source,
|
|||||||
{
|
{
|
||||||
fclose(isqlGlob.Out);
|
fclose(isqlGlob.Out);
|
||||||
|
|
||||||
|
#ifdef IOS
|
||||||
|
STDERROUT("Table copy not supported on iOS");
|
||||||
|
#else
|
||||||
// easy to make a copy in another database
|
// easy to make a copy in another database
|
||||||
const TEXT* altdb = isqlGlob.global_Db_name;
|
const TEXT* altdb = isqlGlob.global_Db_name;
|
||||||
if (*otherdb)
|
if (*otherdb)
|
||||||
@ -4246,6 +4249,7 @@ static processing_state copy_table(TEXT* source,
|
|||||||
IUTILS_msg_get(COPY_ERR, errbuf, SafeArg() << destination << altdb);
|
IUTILS_msg_get(COPY_ERR, errbuf, SafeArg() << destination << altdb);
|
||||||
STDERROUT(errbuf);
|
STDERROUT(errbuf);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
unlink(ftmp.c_str());
|
unlink(ftmp.c_str());
|
||||||
@ -5022,6 +5026,9 @@ static processing_state escape(const TEXT* cmd)
|
|||||||
if (!*shellcmd)
|
if (!*shellcmd)
|
||||||
shellcmd = emptyCmd;
|
shellcmd = emptyCmd;
|
||||||
|
|
||||||
|
#ifdef IOS
|
||||||
|
return FAIL;
|
||||||
|
#else
|
||||||
const int rc = system(shellcmd);
|
const int rc = system(shellcmd);
|
||||||
|
|
||||||
#ifdef WIN_NT
|
#ifdef WIN_NT
|
||||||
@ -5032,6 +5039,7 @@ static processing_state escape(const TEXT* cmd)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
return rc ? FAIL : SKIP;
|
return rc ? FAIL : SKIP;
|
||||||
|
#endif // IOS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -251,6 +251,9 @@ namespace Replication
|
|||||||
DWORD exitCode = 0;
|
DWORD exitCode = 0;
|
||||||
GetExitCodeProcess(seInfo.hProcess, &exitCode);
|
GetExitCodeProcess(seInfo.hProcess, &exitCode);
|
||||||
return (int) exitCode;
|
return (int) exitCode;
|
||||||
|
#elif defined(IOS)
|
||||||
|
errno = EPERM;
|
||||||
|
return -1;
|
||||||
#else
|
#else
|
||||||
return system(command.c_str());
|
return system(command.c_str());
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user