8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 18:03:03 +01:00
This commit is contained in:
asfernandes 2012-06-27 02:24:06 +00:00
parent 0fc893a4e1
commit 254959f099
3 changed files with 6 additions and 6 deletions

View File

@ -156,8 +156,8 @@ See also README.trace_services
(Alex Peshkov, peshkoff@mail.ru, 2011-2012)
This way of doing backups is specially efficient when one needs to perform
backup/restore operation for database, located on ther server accessed using
internet, due to serious performance instrease.
backup/restore operation for database, located on a server accessed using
internet, due to serious performance increase.
The simplest way to use this feature is fbsvcmgr. To backup database run
approximately the following:

View File

@ -117,7 +117,7 @@ FB_UINT64 MVOL_fini_read()
for (burp_fil* file = tdgbl->gbl_sw_backup_files; file; file = file->fil_next)
{
if (file->fil_fd == tdgbl->file_desc)
if (file->fil_fd == tdgbl->file_desc)
{
file->fil_fd = INVALID_HANDLE_VALUE;
}

View File

@ -65,10 +65,10 @@ static const int mask = 0666;
static DESC open_platf(const char* name, int writeFlag)
{
#ifdef WIN_NT
return CreateFile(name, writeFlag ? GENERIC_WRITE : GENERIC_READ, 0, NULL,
writeFlag ? CREATE_ALWAYS : OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0);
return CreateFile(name, (writeFlag ? GENERIC_WRITE : GENERIC_READ), 0, NULL,
(writeFlag ? CREATE_ALWAYS : OPEN_EXISTING), FILE_ATTRIBUTE_NORMAL, 0);
#else
return open(name, writeFlag ? mode_write : mode_read, mask);
return open(name, (writeFlag ? mode_write : mode_read), mask);
#endif
}