Skip to content

Commit 0b2a994

Browse files
committed
Misc
1 parent d2aa8f6 commit 0b2a994

File tree

6 files changed

+22
-24
lines changed

6 files changed

+22
-24
lines changed

doc/README.fb_cancel_operation

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ states of engine) try to stop running request and error-return to the user.
2020
- fb_cancel_disable: disable execution of fb_cancel_raise requests for given attachment. It's
2121
useful when your program executes some critical things (for example, cleanup).
2222
- fb_cancel_enable: enables previously disabled cancel delivery.
23-
- fb_cancel_abort: forcible closed client side of connection. Useful if you need to close
23+
- fb_cancel_abort: forcible close client side of connection. Useful if you need to close
2424
connection urgently. All active transactions will be rolled back by server. Success always
2525
returned to the application. Use with care !
2626

src/burp/restore.epp

+2-3
Original file line numberDiff line numberDiff line change
@@ -3892,8 +3892,9 @@ void get_function_arg(BurpGlobals* tdgbl, bool skip_arguments)
38923892
l = GET_TEXT(X.RDB$FUNCTION_NAME);
38933893
MISC_terminate(X.RDB$FUNCTION_NAME, temp + prefixLen, l,
38943894
sizeof(temp) - prefixLen);
3895-
BURP_verbose (119, temp);
3895+
38963896
// msg 119 restoring argument for function %s
3897+
BURP_verbose(119, temp);
38973898
}
38983899
break;
38993900

@@ -8762,5 +8763,3 @@ void update_view_dbkey_lengths(BurpGlobals* tdgbl)
87628763

87638764

87648765
} // namespace
8765-
8766-

src/common/classes/Interlock.h

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
/*
2-
*
3-
* The contents of this file are subject to the Initial
4-
* Developer's Public License Version 1.0 (the "License");
5-
* you may not use this file except in compliance with the
6-
* License. You may obtain a copy of the License at
7-
* http://www.ibphoenix.com/idpl.html.
82
*
9-
* Software distributed under the License is distributed on
10-
* an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
11-
* express or implied. See the License for the specific
3+
* The contents of this file are subject to the Initial
4+
* Developer's Public License Version 1.0 (the "License");
5+
* you may not use this file except in compliance with the
6+
* License. You may obtain a copy of the License at
7+
* http://www.ibphoenix.com/idpl.html.
8+
*
9+
* Software distributed under the License is distributed on
10+
* an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
11+
* express or implied. See the License for the specific
1212
* language governing rights and limitations under the License.
1313
*
1414
* The contents of this file or any work derived from this file
15-
* may not be distributed under any other license whatsoever
16-
* without the express prior written permission of the original
15+
* may not be distributed under any other license whatsoever
16+
* without the express prior written permission of the original
1717
* author.
1818
*
1919
*

src/isql/extract.epp

+4-5
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ static void get_procedure_args_ods12(const char* proc_name)
723723
*
724724
* Functional description
725725
* This function extracts the procedure parameters and adds it to the
726-
* extract file
726+
* extract file.
727727
* Make sure to pass here only the names of procedures that are global.
728728
*
729729
**************************************/
@@ -1449,7 +1449,6 @@ static processing_state list_all_grants2(bool show_role_list, const SCHAR* termi
14491449
else
14501450
SHOW_grant_roles2(terminator, 0, 0, mangle);
14511451

1452-
14531452
if (isqlGlob.major_ods >= ODS_VERSION12)
14541453
{
14551454
// For stored procedures, but ignore procedures inside packages.
@@ -1463,7 +1462,7 @@ static processing_state list_all_grants2(bool show_role_list, const SCHAR* termi
14631462

14641463
const processing_state rc =
14651464
SHOW_grants2(PRC.RDB$PROCEDURE_NAME, terminator, obj_procedure,
1466-
first ? banner: 0, mangle);
1465+
first ? banner : 0, mangle);
14671466
if (rc == SKIP)
14681467
first = false;
14691468

@@ -1484,7 +1483,7 @@ static processing_state list_all_grants2(bool show_role_list, const SCHAR* termi
14841483

14851484
const processing_state rc =
14861485
SHOW_grants2(PRC.RDB$PROCEDURE_NAME, terminator, obj_procedure,
1487-
first ? banner: 0, mangle);
1486+
first ? banner : 0, mangle);
14881487
if (rc == SKIP)
14891488
first = false;
14901489

@@ -1505,7 +1504,7 @@ static processing_state list_all_grants2(bool show_role_list, const SCHAR* termi
15051504
fb_utils::exact_name(PACK.RDB$PACKAGE_NAME);
15061505
const processing_state rc =
15071506
SHOW_grants2(PACK.RDB$PACKAGE_NAME, terminator, obj_package_header,
1508-
first ? banner: 0, mangle);
1507+
first ? banner : 0, mangle);
15091508
if (rc == SKIP)
15101509
first = false;
15111510
END_FOR

src/isql/isql.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@ const int NO_PACKAGE = 166; // There is no package @1 in this database
254254
const int NO_PACKAGES = 167; // There are no packages in this database
255255
const int NO_SCHEMA = 168; // There is no schema @1 in this database
256256
const int NO_SCHEMAS = 169; // There are no schemas in this database
257-
const int ROWCOUNT_INVALID = 170; //Unable to convert @1 to a number for rowcount
258-
const int ROWCOUNT_OUTOF_RANGE = 171; //Value @1 for rowcount is out of range. Max value is @2
259-
const int ROWCOUNT_NEGATIVE = 172; //The value (@1) for rowcount must be zero or greater
257+
const int ROWCOUNT_INVALID = 170; // Unable to convert @1 to a number for rowcount
258+
const int ROWCOUNT_OUTOF_RANGE = 171; // Value @1 for rowcount is out of range. Max value is @2
259+
const int ROWCOUNT_NEGATIVE = 172; // The value (@1) for rowcount must be zero or greater
260260

261261

262262
// Initialize types

src/remote/server.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -5236,7 +5236,7 @@ bool Worker::wait(int timeout)
52365236
return true;
52375237

52385238
remove();
5239-
return false;
5239+
return false;
52405240
}
52415241

52425242
void Worker::setState(const bool active)

0 commit comments

Comments
 (0)