mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 16:03:02 +01:00
Style.
This commit is contained in:
parent
32ea069957
commit
d0fe2b0d6b
@ -741,7 +741,8 @@ dsql_nod* PASS1_node(CompiledStatement* statement, dsql_nod* input)
|
||||
rel_alias = (dsql_str*) input->nod_arg[e_rpn_alias];
|
||||
couldBeCte = !input->nod_arg[e_rpn_package] && !input->nod_arg[e_rpn_inputs];
|
||||
}
|
||||
else { // nod_relation_name
|
||||
else {
|
||||
// nod_relation_name
|
||||
rel_name = (dsql_str*) input->nod_arg[e_rln_name];
|
||||
rel_alias = (dsql_str*) input->nod_arg[e_rln_alias];
|
||||
}
|
||||
|
@ -1094,7 +1094,8 @@ static void init(FB_API_HANDLE* db_handle)
|
||||
{
|
||||
UDSQL_error = (dsql_err_stblock*) gds__alloc((SLONG) sizeof(dsql_err_stblock));
|
||||
// FREE: by exit cleanup()
|
||||
if (!UDSQL_error) { // NOMEM:
|
||||
if (!UDSQL_error) {
|
||||
// NOMEM:
|
||||
return; // Don't set the init_flag
|
||||
}
|
||||
init_flag = true;
|
||||
@ -1120,7 +1121,8 @@ static void init(FB_API_HANDLE* db_handle)
|
||||
dbb = (dsql_dbb*) gds__alloc((SLONG) sizeof(dsql_dbb));
|
||||
|
||||
// FREE: by database exit handler cleanup_database()
|
||||
if (!dbb) { // NOMEM
|
||||
if (!dbb) {
|
||||
// NOMEM
|
||||
return; // Not a great error handler
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user