mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 10:43:03 +01:00
Misc.
This commit is contained in:
parent
2db78d08f3
commit
0aac664d7b
@ -2977,7 +2977,7 @@ static jrd_nod* copy(thread_db* tdbb,
|
||||
node->nod_type = input->nod_type;
|
||||
node->nod_arg[e_gen_value] =
|
||||
copy(tdbb, csb, input->nod_arg[e_gen_value], remap, field_id, message, remap_fld);
|
||||
node->nod_arg[e_gen_relation] = input->nod_arg[e_gen_relation];
|
||||
node->nod_arg[e_gen_id] = input->nod_arg[e_gen_id];
|
||||
return (node);
|
||||
|
||||
case nod_cast:
|
||||
|
@ -419,8 +419,7 @@ const int e_fun_length = 2;
|
||||
// Generate id
|
||||
|
||||
const int e_gen_value = 0;
|
||||
const int e_gen_relation = 1;
|
||||
const int e_gen_id = 1; // Generator id (replaces e_gen_relation)
|
||||
const int e_gen_id = 1;
|
||||
const int e_gen_length = 2;
|
||||
|
||||
// Protection mask
|
||||
|
@ -3123,7 +3123,7 @@ jrd_nod* PAR_parse_node(thread_db* tdbb, CompilerScratch* csb, USHORT expected)
|
||||
if (tmp < 0) {
|
||||
error(csb, Arg::Gds(isc_gennotdef) << Arg::Str(name));
|
||||
}
|
||||
node->nod_arg[e_gen_relation] = (jrd_nod*) (IPTR) tmp;
|
||||
node->nod_arg[e_gen_id] = (jrd_nod*) (IPTR) tmp;
|
||||
node->nod_arg[e_gen_value] = PAR_parse_node(tdbb, csb, VALUE);
|
||||
|
||||
/* CVC: There're thousand ways to go wrong, but I don't see any value
|
||||
|
Loading…
Reference in New Issue
Block a user