8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 18:43:02 +01:00
This commit is contained in:
robocop 2008-05-14 08:54:16 +00:00
parent c09c774052
commit b88a1fd86f
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ useful when your program executes some critical things (for example, cleanup).
fb_cancel_disable / fb_cancel_enable may be set many times - if engine is already in requested
state, no action is taken. Cancel is enabled by default (i.e. after attach/create database).
Pay attention to asynchronous nature of this API call. Useally fb_cancel_raise is called when
Pay attention to asynchronous nature of this API call. Usually fb_cancel_raise is called when
you need to stop long-running request. This means that it's called from separate thread (calling
it from signal handler is bad idea, it's NOT async signal safe). Another side of asynchronous
execution is that at the end of API call attachment's activity may be already cancelled, may be not

View File

@ -235,7 +235,7 @@ jrd_file* PIO_create(Database* dbb, const Firebird::PathName& file_name,
#endif
{
int chmodError = errno;
// ignore possible errors in this calls - even if they have failed
// ignore possible errors in these calls - even if they have failed
// we cannot help much with former recovery
close(desc);
unlink(file_name.c_str());