8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:00:38 +01:00
This commit is contained in:
asfernandes 2013-11-21 01:17:08 +00:00
parent 05de852588
commit d543daf51a
11 changed files with 19 additions and 19 deletions

View File

@ -126,10 +126,10 @@ An ability to upgrade interface version places one important limit on
implementation of interfaces: it should not contain virtual functions
(including virtual destructor) except those defined in interface
definition. This is because interface upgrade process modifies table
of virtual functions, and for successful upgrade number of functions
in interface implementation should exactly match one in it's
of virtual functions, and for successful upgrade, number of functions
in interface implementation should exactly match one in its
definition. Pointer to functions, missing in interface definition but
added in it's implementation, may be </FONT><FONT COLOR="#ff0000"><FONT SIZE=4>overwritten</FONT></FONT><FONT SIZE=4>
added in its implementation, may be </FONT><FONT COLOR="#ff0000"><FONT SIZE=4>overwritten</FONT></FONT><FONT SIZE=4>
with a pointer to function used to upgrade interface.</FONT></P>
<P STYLE="margin-bottom: 0in"><BR>
</P>

View File

@ -197,7 +197,7 @@ found in source code of fbsvcmgr.
(Alex Peshkov, peshkoff@mail.ru, 2013)
If one wants to use services API to access database which is configured to use
non-default security database new SPB item isc_spb_expected_db should be used
non-default security database, new SPB item isc_spb_expected_db should be used
when attaching to services manager. Value of this item is a database which is
expected to be accessed.

View File

@ -216,7 +216,7 @@ void dumpIt(const char* name, const Firebird::string& str)
void dumpBin(const char* name, const Firebird::string& str)
{
fprintf(stderr, "%s (%ld)\n", name, str.length());
for (size_t x=0; x<str.length(); ++x)
for (size_t x = 0; x < str.length(); ++x)
fprintf(stderr, "%02x ", str[x]);
fprintf(stderr, "\n");
}

View File

@ -306,7 +306,7 @@ bool SyncObject::wait(SyncType type, ThreadSync* thread, Sync* sync, int timeOut
if (thread->lockGranted)
return true;
(void)wakeup;
(void) wakeup;
//if (!wakeup)
// stalled(thread);

View File

@ -890,7 +890,7 @@ void GDS_breakpoint(int);
#define FB_FINAL
#endif
#define FB_UNUSED(value) do { if(value); } while (false)
#define FB_UNUSED(value) do { if (value); } while (false)
// 30 Dec 2002. Nickolay Samofatov
// This needs to be checked for all supported platforms

View File

@ -82,7 +82,7 @@ static string getExecutablePath()
_NSGetExecutablePath(file_buff, &bufsize);
char canonic[PATH_MAX];
if (!realpath(file_buff, canonic))
Firebird::system_call_failed::raise("realpath");
Firebird::system_call_failed::raise("realpath");
string bin_dir = canonic;
// get rid of the filename
int index = bin_dir.rfind(PathUtils::dir_sep);