mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:03:04 +01:00
Fixed the engine crash caused by the recent refactoring.
This commit is contained in:
parent
b17937848c
commit
f1b959694c
@ -1912,6 +1912,7 @@ static jrd_nod* convertNeqAllToNotAny(thread_db* tdbb, CompilerScratch* csb, jrd
|
||||
newNode->nod_arg[0]->nod_arg[0]->nod_arg[1]->nod_count = 1;
|
||||
newNode->nod_arg[0]->nod_arg[0]->nod_arg[1]->nod_arg[e_any_rse] = PAR_make_node(tdbb, 1);
|
||||
newNode->nod_arg[0]->nod_arg[0]->nod_arg[1]->nod_arg[e_any_rse]->nod_type = nod_class_recsrcnode_jrd;
|
||||
newNode->nod_arg[0]->nod_arg[0]->nod_arg[1]->nod_arg[e_any_rse]->nod_count = 0;
|
||||
newNode->nod_arg[0]->nod_arg[0]->nod_arg[1]->nod_arg[e_any_rse]->nod_arg[0] = (jrd_nod*) innerRse;
|
||||
|
||||
RseNode* newInnerRse = innerRse->clone();
|
||||
@ -1921,6 +1922,7 @@ static jrd_nod* convertNeqAllToNotAny(thread_db* tdbb, CompilerScratch* csb, jrd
|
||||
newNode->nod_arg[0]->nod_arg[1]->nod_count = 1;
|
||||
newNode->nod_arg[0]->nod_arg[1]->nod_arg[e_any_rse] = PAR_make_node(tdbb, 1);
|
||||
newNode->nod_arg[0]->nod_arg[1]->nod_arg[e_any_rse]->nod_type = nod_class_recsrcnode_jrd;
|
||||
newNode->nod_arg[0]->nod_arg[1]->nod_arg[e_any_rse]->nod_count = 0;
|
||||
newNode->nod_arg[0]->nod_arg[1]->nod_arg[e_any_rse]->nod_arg[0] = (jrd_nod*) newInnerRse;
|
||||
|
||||
jrd_nod* boolean = PAR_make_node(tdbb, 2);
|
||||
|
Loading…
Reference in New Issue
Block a user