From: <asf...@us...> - 2012-06-27 02:24:13
|
Revision: 54671 http://firebird.svn.sourceforge.net/firebird/?rev=54671&view=rev Author: asfernandes Date: 2012-06-27 02:24:06 +0000 (Wed, 27 Jun 2012) Log Message: ----------- Misc. Modified Paths: -------------- firebird/trunk/doc/README.services_extension firebird/trunk/src/burp/mvol.cpp firebird/trunk/src/burp/split/spit.cpp Modified: firebird/trunk/doc/README.services_extension =================================================================== --- firebird/trunk/doc/README.services_extension 2012-06-26 13:43:26 UTC (rev 54670) +++ firebird/trunk/doc/README.services_extension 2012-06-27 02:24:06 UTC (rev 54671) @@ -156,8 +156,8 @@ (Alex Peshkov, pes...@ma..., 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: Modified: firebird/trunk/src/burp/mvol.cpp =================================================================== --- firebird/trunk/src/burp/mvol.cpp 2012-06-26 13:43:26 UTC (rev 54670) +++ firebird/trunk/src/burp/mvol.cpp 2012-06-27 02:24:06 UTC (rev 54671) @@ -117,7 +117,7 @@ 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; } Modified: firebird/trunk/src/burp/split/spit.cpp =================================================================== --- firebird/trunk/src/burp/split/spit.cpp 2012-06-26 13:43:26 UTC (rev 54670) +++ firebird/trunk/src/burp/split/spit.cpp 2012-06-27 02:24:06 UTC (rev 54671) @@ -65,10 +65,10 @@ 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 } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |