diff --git a/builds/install/arch-specific/hpux/super/postInstall.sh.in b/builds/install/arch-specific/hpux/super/postInstall.sh.in index 8ee8e140a9f..e3ad6deefd9 100644 --- a/builds/install/arch-specific/hpux/super/postInstall.sh.in +++ b/builds/install/arch-specific/hpux/super/postInstall.sh.in @@ -137,7 +137,7 @@ writeNewPassword() { if [ $NewPasswd = "masterkey" ] then echo "# for install on `hostname` at time `date`" >> $DBAPasswordFile - echo "# You should change this password at the earliest oportunity" >> $DBAPasswordFile + echo "# You should change this password at the earliest opportunity" >> $DBAPasswordFile else echo "# generated on `hostname` at time `date`" >> $DBAPasswordFile fi diff --git a/builds/install/misc/firebird.conf b/builds/install/misc/firebird.conf index 5221d6facb3..7020739b38e 100644 --- a/builds/install/misc/firebird.conf +++ b/builds/install/misc/firebird.conf @@ -700,7 +700,7 @@ # active connections. If you do not like its default 2-hour keepalive timeout, # then adjust your server OS settings appropriately. On UNIX-like OS's, # modify contents of /proc/sys/net/ipv4/tcp_keepalive_*. On Windows, -# follow instrutions of this article: +# follow instructions of this article: # https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/tcpip-and-nbt-configuration-parameters # # Per-connection configurable. diff --git a/doc/README.build.posix.html b/doc/README.build.posix.html index a898676aa70..027f08ceb8d 100644 --- a/doc/README.build.posix.html +++ b/doc/README.build.posix.html @@ -246,7 +246,7 @@

Before building Firebird it is necessary to create the "configure" - script, if one is not included with your distrubtion. The configure + script, if one is not included with your distribution. The configure script is generated by running the "autogen.sh" script. Autogen.sh is a shell script located in the root directory of the Firebird build. diff --git a/doc/README.fbsvcmgr b/doc/README.fbsvcmgr index 7457399f56c..2dd8e0dcb69 100644 --- a/doc/README.fbsvcmgr +++ b/doc/README.fbsvcmgr @@ -51,7 +51,7 @@ SHUT2 0 0 QATEST 0 0 And: # fbsvcmgr service_mgr -user sysdba -password masterke -info_server_version -info_implementation -will report both server version and it's implemenation: +will report both server version and it's implementation: Server version: LI-T2.1.0.15740 Firebird 2.1 Alpha 1 Server implementation: Firebird/linux AMD64 But attempt to mix all of this in single command line: diff --git a/doc/sql.extensions/README.default_parameters b/doc/sql.extensions/README.default_parameters index 3621685acd8..7029295e5b8 100644 --- a/doc/sql.extensions/README.default_parameters +++ b/doc/sql.extensions/README.default_parameters @@ -1,4 +1,4 @@ -SQL Language Extension: default paremeters in stored procedures +SQL Language Extension: default parameters in stored procedures Function: allow input parameters of stored procedures to have optional default values diff --git a/doc/sql.extensions/README.sql_security.txt b/doc/sql.extensions/README.sql_security.txt index 830f20c2472..6081ca11bb4 100644 --- a/doc/sql.extensions/README.sql_security.txt +++ b/doc/sql.extensions/README.sql_security.txt @@ -86,7 +86,7 @@ connect 'localhost:/tmp/59.fdb' user us password 'pas'; select f(3) from rdb$database; -Example 3. It's enought to grant only EXECUTE privilege to user US for procedure P. +Example 3. It's enough to grant only EXECUTE privilege to user US for procedure P. In case of INVOKER it will require also INSERT for table T to either user US or procedure P. set term ^; @@ -104,7 +104,7 @@ connect 'localhost:/tmp/17.fdb' user us password 'pas'; execute procedure p(1); -Example 4. It's enought to grant only INSERT privilege to user US for table TR. +Example 4. It's enough to grant only INSERT privilege to user US for table TR. In case of INVOKER it will require also INSERT for table T to user US. create table tr (i integer); @@ -142,7 +142,7 @@ connect 'localhost:/tmp/29.fdb' user us password 'pas'; insert into tr values(2); -Example 5. It's enought to grant only EXECUTE privilege to user US for package PK. +Example 5. It's enough to grant only EXECUTE privilege to user US for package PK. In case of INVOKER it will require also INSERT for table T to user US. create table t (i integer); diff --git a/src/common/classes/Switches.h b/src/common/classes/Switches.h index d537221018f..40cd3d68774 100644 --- a/src/common/classes/Switches.h +++ b/src/common/classes/Switches.h @@ -86,7 +86,7 @@ class Switches void activate(const int in_sw); // Checks if an item by key exists in a list of strings that represent the set of command-line - // arguments. This is more eficient than finding the key for each parameter and then checking + // arguments. This is more efficient than finding the key for each parameter and then checking // if it's the one we want (we reduce loop from Nkeys*Nargs to Nkeys+Nargs in the worst case). // It throws system_call_failed if the key is not found or it's negative or zero. bool exists(const int in_sw, const char* const* argv, const int start, const int stop) const; diff --git a/src/common/classes/array.h b/src/common/classes/array.h index 8b3ff24d9d1..f2d201f7e30 100644 --- a/src/common/classes/array.h +++ b/src/common/classes/array.h @@ -435,7 +435,7 @@ class Array : protected Storage return FB_ALIGN(data, alignL); } - // clear array and release dinamically allocated memory + // clear array and release dynamically allocated memory void free() { clear(); diff --git a/src/common/common.h b/src/common/common.h index a490c17693c..40854ffc648 100644 --- a/src/common/common.h +++ b/src/common/common.h @@ -927,7 +927,7 @@ void GDS_breakpoint(int); // ASF: Currently, all little-endian are FB_SWAP_DOUBLE and big-endian aren't. // AP: Define it for your hardware correctly in case your CPU do not follow mentioned rule. -// The follwoing lines are kept for reference only. +// The following lines are kept for reference only. //#if defined(i386) || defined(I386) || defined(_M_IX86) || defined(AMD64) || defined(ARM) || defined(MIPSEL) || defined(DARWIN64) || defined(IA64) //#define FB_SWAP_DOUBLE 1 //#elif defined(sparc) || defined(PowerPC) || defined(PPC) || defined(__ppc__) || defined(HPUX) || defined(MIPS) || defined(__ppc64__) diff --git a/src/dsql/AggNodes.cpp b/src/dsql/AggNodes.cpp index e9d8eb81a7f..abf317e4b80 100644 --- a/src/dsql/AggNodes.cpp +++ b/src/dsql/AggNodes.cpp @@ -207,7 +207,7 @@ bool AggNode::dsqlAggregate2Finder(Aggregate2Finder& visitor) if (!fieldFinder.getField()) { // For example COUNT(*) is always same scope_level (node->nod_count = 0) - // Normaly COUNT(*) is the only way to come here but something stupid + // Normally COUNT(*) is the only way to come here but something stupid // as SUM(5) is also possible. // If currentScopeLevelEqual is false scopeLevel is always higher switch (visitor.matchType) diff --git a/src/gpre/gpre.cpp b/src/gpre/gpre.cpp index 45a8e55a90e..478e704e681 100644 --- a/src/gpre/gpre.cpp +++ b/src/gpre/gpre.cpp @@ -2440,7 +2440,7 @@ static void pass2( SLONG start_position) const bool sw_block_comments = gpreGlob.sw_language == lang_c || isLangCpp(gpreGlob.sw_language) || gpreGlob.sw_language == lang_pascal; - // Put out a distintive module header + // Put out a distinctive module header if (!sw_first) { diff --git a/src/gpre/sql.cpp b/src/gpre/sql.cpp index 5f73dc7eba1..65037599970 100644 --- a/src/gpre/sql.cpp +++ b/src/gpre/sql.cpp @@ -4592,7 +4592,7 @@ static act* act_update() else { // does not specify transaction clause in - // "update ... where cuurent of cursor" stmt + // "update ... where current of cursor" stmt const USHORT trans_nm_len = static_cast(strlen(request->req_trans)); char* newtrans = (SCHAR *) MSC_alloc(trans_nm_len + 1); transaction = newtrans; diff --git a/src/include/firebird/impl/msg/jrd.h b/src/include/firebird/impl/msg/jrd.h index dff756e1630..a83c37925c5 100644 --- a/src/include/firebird/impl/msg/jrd.h +++ b/src/include/firebird/impl/msg/jrd.h @@ -395,7 +395,7 @@ FB_IMPL_MSG(JRD, 393, dsql_sqlda_value_err, -804, "HY", "000", "Incorrect values FB_IMPL_MSG(JRD, 394, invalid_array_id, -104, "HY", "000", "invalid blob id") FB_IMPL_MSG(JRD, 395, extfile_uns_op, -816, "42", "000", "Operation not supported for EXTERNAL FILE table @1") FB_IMPL_MSG(JRD, 396, svc_in_use, -901, "HY", "000", "Service is currently busy: @1") -FB_IMPL_MSG(JRD, 397, err_stack_limit, -902, "HY", "013", "stack size insufficent to execute current request") +FB_IMPL_MSG(JRD, 397, err_stack_limit, -902, "HY", "013", "stack size insufficient to execute current request") FB_IMPL_MSG(JRD, 398, invalid_key, -827, "42", "000", "Invalid key for find operation") FB_IMPL_MSG(JRD, 399, net_init_error, -901, "08", "006", "Error initializing the network software.") FB_IMPL_MSG(JRD, 400, loadlib_failure, -901, "HY", "000", "Unable to load required library @1.") diff --git a/src/intl/charsets/cs_737.h b/src/intl/charsets/cs_737.h index d569532ee36..10c991b8728 100644 --- a/src/intl/charsets/cs_737.h +++ b/src/intl/charsets/cs_737.h @@ -162,7 +162,7 @@ static const USHORT to_unicode_map[256] = { /* 87 */ 0x0398 /* GREEK CAPITAL LETTER THETA */, /* 88 */ 0x0399 /* GREEK CAPITAL LETTER IOTA */, /* 89 */ 0x039A /* GREEK CAPITAL LETTER KAPPA */, -/* 8A */ 0x039B /* GREEK CAPITAL LETTER LAMDA */, +/* 8A */ 0x039B /* GREEK CAPITAL LETTER LAMBDA */, /* 8B */ 0x039C /* GREEK CAPITAL LETTER MU */, /* 8C */ 0x039D /* GREEK CAPITAL LETTER NU */, /* 8D */ 0x039E /* GREEK CAPITAL LETTER XI */, @@ -186,7 +186,7 @@ static const USHORT to_unicode_map[256] = { /* 9F */ 0x03B8 /* GREEK SMALL LETTER THETA */, /* A0 */ 0x03B9 /* GREEK SMALL LETTER IOTA */, /* A1 */ 0x03BA /* GREEK SMALL LETTER KAPPA */, -/* A2 */ 0x03BB /* GREEK SMALL LETTER LAMDA */, +/* A2 */ 0x03BB /* GREEK SMALL LETTER LAMBDA */, /* A3 */ 0x03BC /* GREEK SMALL LETTER MU */, /* A4 */ 0x03BD /* GREEK SMALL LETTER NU */, /* A5 */ 0x03BE /* GREEK SMALL LETTER XI */, @@ -953,7 +953,7 @@ static const UCHAR from_unicode_mapping_array[] = { /* U+0398 */ 0x87 /* GREEK CAPITAL LETTER THETA */,/* 664 */ /* U+0399 */ 0x88 /* GREEK CAPITAL LETTER IOTA */,/* 665 */ /* U+039A */ 0x89 /* GREEK CAPITAL LETTER KAPPA */,/* 666 */ -/* U+039B */ 0x8A /* GREEK CAPITAL LETTER LAMDA */,/* 667 */ +/* U+039B */ 0x8A /* GREEK CAPITAL LETTER LAMBDA */,/* 667 */ /* U+039C */ 0x8B /* GREEK CAPITAL LETTER MU */,/* 668 */ /* U+039D */ 0x8C /* GREEK CAPITAL LETTER NU */,/* 669 */ /* U+039E */ 0x8D /* GREEK CAPITAL LETTER XI */,/* 670 */ @@ -985,7 +985,7 @@ static const UCHAR from_unicode_mapping_array[] = { /* U+03B8 */ 0x9F /* GREEK SMALL LETTER THETA */,/* 696 */ /* U+03B9 */ 0xA0 /* GREEK SMALL LETTER IOTA */,/* 697 */ /* U+03BA */ 0xA1 /* GREEK SMALL LETTER KAPPA */,/* 698 */ -/* U+03BB */ 0xA2 /* GREEK SMALL LETTER LAMDA */,/* 699 */ +/* U+03BB */ 0xA2 /* GREEK SMALL LETTER LAMBDA */,/* 699 */ /* U+03BC */ 0xA3 /* GREEK SMALL LETTER MU */,/* 700 */ /* U+03BD */ 0xA4 /* GREEK SMALL LETTER NU */,/* 701 */ /* U+03BE */ 0xA5 /* GREEK SMALL LETTER XI */,/* 702 */ diff --git a/src/intl/charsets/cs_869.h b/src/intl/charsets/cs_869.h index f183d32e8f2..0b52fbdcd49 100644 --- a/src/intl/charsets/cs_869.h +++ b/src/intl/charsets/cs_869.h @@ -208,7 +208,7 @@ static const USHORT to_unicode_map[256] = { /* B3 */ 0x2502 /* BOX DRAWINGS LIGHT VERTICAL */, /* B4 */ 0x2524 /* BOX DRAWINGS LIGHT VERTICAL AND LEFT */, /* B5 */ 0x039A /* GREEK CAPITAL LETTER KAPPA */, -/* B6 */ 0x039B /* GREEK CAPITAL LETTER LAMDA */, +/* B6 */ 0x039B /* GREEK CAPITAL LETTER LAMBDA */, /* B7 */ 0x039C /* GREEK CAPITAL LETTER MU */, /* B8 */ 0x039D /* GREEK CAPITAL LETTER NU */, /* B9 */ 0x2563 /* BOX DRAWINGS DOUBLE VERTICAL AND LEFT */, @@ -255,7 +255,7 @@ static const USHORT to_unicode_map[256] = { /* E2 */ 0x03B8 /* GREEK SMALL LETTER THETA */, /* E3 */ 0x03B9 /* GREEK SMALL LETTER IOTA */, /* E4 */ 0x03BA /* GREEK SMALL LETTER KAPPA */, -/* E5 */ 0x03BB /* GREEK SMALL LETTER LAMDA */, +/* E5 */ 0x03BB /* GREEK SMALL LETTER LAMBDA */, /* E6 */ 0x03BC /* GREEK SMALL LETTER MU */, /* E7 */ 0x03BD /* GREEK SMALL LETTER NU */, /* E8 */ 0x03BE /* GREEK SMALL LETTER XI */, @@ -953,7 +953,7 @@ static const UCHAR from_unicode_mapping_array[] = { /* U+0398 */ 0xAC /* GREEK CAPITAL LETTER THETA */,/* 664 */ /* U+0399 */ 0xAD /* GREEK CAPITAL LETTER IOTA */,/* 665 */ /* U+039A */ 0xB5 /* GREEK CAPITAL LETTER KAPPA */,/* 666 */ -/* U+039B */ 0xB6 /* GREEK CAPITAL LETTER LAMDA */,/* 667 */ +/* U+039B */ 0xB6 /* GREEK CAPITAL LETTER LAMBDA */,/* 667 */ /* U+039C */ 0xB7 /* GREEK CAPITAL LETTER MU */,/* 668 */ /* U+039D */ 0xB8 /* GREEK CAPITAL LETTER NU */,/* 669 */ /* U+039E */ 0xBD /* GREEK CAPITAL LETTER XI */,/* 670 */ @@ -985,7 +985,7 @@ static const UCHAR from_unicode_mapping_array[] = { /* U+03B8 */ 0xE2 /* GREEK SMALL LETTER THETA */,/* 696 */ /* U+03B9 */ 0xE3 /* GREEK SMALL LETTER IOTA */,/* 697 */ /* U+03BA */ 0xE4 /* GREEK SMALL LETTER KAPPA */,/* 698 */ -/* U+03BB */ 0xE5 /* GREEK SMALL LETTER LAMDA */,/* 699 */ +/* U+03BB */ 0xE5 /* GREEK SMALL LETTER LAMBDA */,/* 699 */ /* U+03BC */ 0xE6 /* GREEK SMALL LETTER MU */,/* 700 */ /* U+03BD */ 0xE7 /* GREEK SMALL LETTER NU */,/* 701 */ /* U+03BE */ 0xE8 /* GREEK SMALL LETTER XI */,/* 702 */ diff --git a/src/intl/charsets/cs_iso8859_7.h b/src/intl/charsets/cs_iso8859_7.h index 0cb8da48d35..1aa371b5c91 100644 --- a/src/intl/charsets/cs_iso8859_7.h +++ b/src/intl/charsets/cs_iso8859_7.h @@ -229,7 +229,7 @@ static const USHORT to_unicode_map[256] = { /* C8 */ 0x0398 /* GREEK CAPITAL LETTER THETA */, /* C9 */ 0x0399 /* GREEK CAPITAL LETTER IOTA */, /* CA */ 0x039A /* GREEK CAPITAL LETTER KAPPA */, -/* CB */ 0x039B /* GREEK CAPITAL LETTER LAMDA */, +/* CB */ 0x039B /* GREEK CAPITAL LETTER LAMBDA */, /* CC */ 0x039C /* GREEK CAPITAL LETTER MU */, /* CD */ 0x039D /* GREEK CAPITAL LETTER NU */, /* CE */ 0x039E /* GREEK CAPITAL LETTER XI */, @@ -261,7 +261,7 @@ static const USHORT to_unicode_map[256] = { /* E8 */ 0x03B8 /* GREEK SMALL LETTER THETA */, /* E9 */ 0x03B9 /* GREEK SMALL LETTER IOTA */, /* EA */ 0x03BA /* GREEK SMALL LETTER KAPPA */, -/* EB */ 0x03BB /* GREEK SMALL LETTER LAMDA */, +/* EB */ 0x03BB /* GREEK SMALL LETTER LAMBDA */, /* EC */ 0x03BC /* GREEK SMALL LETTER MU */, /* ED */ 0x03BD /* GREEK SMALL LETTER NU */, /* EE */ 0x03BE /* GREEK SMALL LETTER XI */, @@ -1209,7 +1209,7 @@ static const UCHAR from_unicode_mapping_array[] = { /* U+0398 */ 0xC8 /* GREEK CAPITAL LETTER THETA */,/* 920 */ /* U+0399 */ 0xC9 /* GREEK CAPITAL LETTER IOTA */,/* 921 */ /* U+039A */ 0xCA /* GREEK CAPITAL LETTER KAPPA */,/* 922 */ -/* U+039B */ 0xCB /* GREEK CAPITAL LETTER LAMDA */,/* 923 */ +/* U+039B */ 0xCB /* GREEK CAPITAL LETTER LAMBDA */,/* 923 */ /* U+039C */ 0xCC /* GREEK CAPITAL LETTER MU */,/* 924 */ /* U+039D */ 0xCD /* GREEK CAPITAL LETTER NU */,/* 925 */ /* U+039E */ 0xCE /* GREEK CAPITAL LETTER XI */,/* 926 */ @@ -1241,7 +1241,7 @@ static const UCHAR from_unicode_mapping_array[] = { /* U+03B8 */ 0xE8 /* GREEK SMALL LETTER THETA */,/* 952 */ /* U+03B9 */ 0xE9 /* GREEK SMALL LETTER IOTA */,/* 953 */ /* U+03BA */ 0xEA /* GREEK SMALL LETTER KAPPA */,/* 954 */ -/* U+03BB */ 0xEB /* GREEK SMALL LETTER LAMDA */,/* 955 */ +/* U+03BB */ 0xEB /* GREEK SMALL LETTER LAMBDA */,/* 955 */ /* U+03BC */ 0xEC /* GREEK SMALL LETTER MU */,/* 956 */ /* U+03BD */ 0xED /* GREEK SMALL LETTER NU */,/* 957 */ /* U+03BE */ 0xEE /* GREEK SMALL LETTER XI */,/* 958 */ diff --git a/src/intl/charsets/cs_w1253.h b/src/intl/charsets/cs_w1253.h index 450b36298f9..3d033473d6a 100644 --- a/src/intl/charsets/cs_w1253.h +++ b/src/intl/charsets/cs_w1253.h @@ -229,7 +229,7 @@ static const USHORT to_unicode_map[256] = { /* C8 */ 0x0398 /* GREEK CAPITAL LETTER THETA */, /* C9 */ 0x0399 /* GREEK CAPITAL LETTER IOTA */, /* CA */ 0x039A /* GREEK CAPITAL LETTER KAPPA */, -/* CB */ 0x039B /* GREEK CAPITAL LETTER LAMDA */, +/* CB */ 0x039B /* GREEK CAPITAL LETTER LAMBDA */, /* CC */ 0x039C /* GREEK CAPITAL LETTER MU */, /* CD */ 0x039D /* GREEK CAPITAL LETTER NU */, /* CE */ 0x039E /* GREEK CAPITAL LETTER XI */, @@ -261,7 +261,7 @@ static const USHORT to_unicode_map[256] = { /* E8 */ 0x03B8 /* GREEK SMALL LETTER THETA */, /* E9 */ 0x03B9 /* GREEK SMALL LETTER IOTA */, /* EA */ 0x03BA /* GREEK SMALL LETTER KAPPA */, -/* EB */ 0x03BB /* GREEK SMALL LETTER LAMDA */, +/* EB */ 0x03BB /* GREEK SMALL LETTER LAMBDA */, /* EC */ 0x03BC /* GREEK SMALL LETTER MU */, /* ED */ 0x03BD /* GREEK SMALL LETTER NU */, /* EE */ 0x03BE /* GREEK SMALL LETTER XI */, @@ -1209,7 +1209,7 @@ static const UCHAR from_unicode_mapping_array[] = { /* U+0398 */ 0xC8 /* GREEK CAPITAL LETTER THETA */,/* 920 */ /* U+0399 */ 0xC9 /* GREEK CAPITAL LETTER IOTA */,/* 921 */ /* U+039A */ 0xCA /* GREEK CAPITAL LETTER KAPPA */,/* 922 */ -/* U+039B */ 0xCB /* GREEK CAPITAL LETTER LAMDA */,/* 923 */ +/* U+039B */ 0xCB /* GREEK CAPITAL LETTER LAMBDA */,/* 923 */ /* U+039C */ 0xCC /* GREEK CAPITAL LETTER MU */,/* 924 */ /* U+039D */ 0xCD /* GREEK CAPITAL LETTER NU */,/* 925 */ /* U+039E */ 0xCE /* GREEK CAPITAL LETTER XI */,/* 926 */ @@ -1241,7 +1241,7 @@ static const UCHAR from_unicode_mapping_array[] = { /* U+03B8 */ 0xE8 /* GREEK SMALL LETTER THETA */,/* 952 */ /* U+03B9 */ 0xE9 /* GREEK SMALL LETTER IOTA */,/* 953 */ /* U+03BA */ 0xEA /* GREEK SMALL LETTER KAPPA */,/* 954 */ -/* U+03BB */ 0xEB /* GREEK SMALL LETTER LAMDA */,/* 955 */ +/* U+03BB */ 0xEB /* GREEK SMALL LETTER LAMBDA */,/* 955 */ /* U+03BC */ 0xEC /* GREEK SMALL LETTER MU */,/* 956 */ /* U+03BD */ 0xED /* GREEK SMALL LETTER NU */,/* 957 */ /* U+03BE */ 0xEE /* GREEK SMALL LETTER XI */,/* 958 */ diff --git a/src/jrd/cch.cpp b/src/jrd/cch.cpp index 020cf242998..bcbc7fea820 100644 --- a/src/jrd/cch.cpp +++ b/src/jrd/cch.cpp @@ -546,7 +546,7 @@ bool CCH_exclusive_attachment(thread_db* tdbb, USHORT level, SSHORT wait_flag, S * return false. * **************************************/ - const int CCH_EXCLUSIVE_RETRY_INTERVAL = 10; // retry interval in millseconds + const int CCH_EXCLUSIVE_RETRY_INTERVAL = 10; // retry interval in milliseconds SET_TDBB(tdbb); Database* const dbb = tdbb->getDatabase(); diff --git a/src/jrd/cvt2.cpp b/src/jrd/cvt2.cpp index f6b4e0979ff..084c1df0eb1 100644 --- a/src/jrd/cvt2.cpp +++ b/src/jrd/cvt2.cpp @@ -251,7 +251,7 @@ int CVT2_compare(const dsc* arg1, const dsc* arg2, Firebird::DecimalStatus decSt thread_db* tdbb = NULL; // AB: Maybe we need a other error-message, but at least throw - // a message when 1 or both input paramters are empty. + // a message when 1 or both input parameters are empty. if (!arg1 || !arg2) { BUGCHECK(189); // msg 189 comparison not supported for specified data types. } diff --git a/src/jrd/idx.h b/src/jrd/idx.h index dd094798182..220e539b59b 100644 --- a/src/jrd/idx.h +++ b/src/jrd/idx.h @@ -29,7 +29,7 @@ /* Indices to be created */ -/* Maxinum number of segments in any existing system index */ +/* Maximum number of segments in any existing system index */ const int INI_IDX_MAX_SEGMENTS = 3; struct ini_idx_t diff --git a/src/jrd/sqz.cpp b/src/jrd/sqz.cpp index b2ba19483c1..561863c0318 100644 --- a/src/jrd/sqz.cpp +++ b/src/jrd/sqz.cpp @@ -46,7 +46,7 @@ using namespace Jrd; // non-compressable runs. Compressable runs between 4 and 8 bytes are somewhat border case, as // they do not compress much but increase total number of runs thus affecting decompression speed. // Starting from Firebird v5, we don't compress runs shorter than 8 bytes. But this rule is not -// set in stone, so let's not use lenghts between 4 and 7 bytes as some other special markers. +// set in stone, so let's not use lengths between 4 and 7 bytes as some other special markers. namespace { diff --git a/src/lock/lock.cpp b/src/lock/lock.cpp index ba36601cd9f..a8211cb2682 100644 --- a/src/lock/lock.cpp +++ b/src/lock/lock.cpp @@ -3958,7 +3958,7 @@ void LockManager::wait_for_request(thread_db* tdbb, lrq* request, SSHORT lck_wai // Our request is not resolved, all the owners are alive, there's // no deadlock -- there's nothing else to do. Let's // make sure our request hasn't been forgotten by reminding - // all the owners we're waiting - some plaforms under CLASSIC + // all the owners we're waiting - some platforms under CLASSIC // architecture had problems with "missing signals" - which is // another reason to repost the blockage. // Also, the ownership of the lock could have changed, and we diff --git a/src/misc/pascal/perf.pas b/src/misc/pascal/perf.pas index 4a350da34c1..f4e17f74295 100644 --- a/src/misc/pascal/perf.pas +++ b/src/misc/pascal/perf.pas @@ -44,7 +44,7 @@ perf = record perf_times : tms; end; -(* Letter codes controlling printting of statistics: +(* Letter codes controlling printing of statistics: !f - fetches !m - marks diff --git a/src/remote/parser.cpp b/src/remote/parser.cpp index eabc92907a7..088e235e996 100644 --- a/src/remote/parser.cpp +++ b/src/remote/parser.cpp @@ -294,7 +294,7 @@ static rem_fmt* parse_format(const UCHAR*& blr, size_t& blr_length) desc->dsc_scale = *blr++; break; - // this case cannot occur as switch paramater is char and blr_blob + // this case cannot occur as switch parameter is char and blr_blob // is 261. blob_ids are actually passed around as blr_quad. //case blr_blob: