8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00

This bug comes from IB, maybe from the dawn of time (PVS-Studio).

This commit is contained in:
robocop 2014-02-25 06:22:16 +00:00
parent 10a253d613
commit 89daebda26

View File

@ -180,7 +180,7 @@ bool CMP_node_match( const qli_nod* node1, const qli_nod* node2)
return CMP_node_match(node1->nod_arg[e_stt_value], node2->nod_arg[e_stt_value]);
case nod_function:
if (node1->nod_arg[e_fun_function] != node1->nod_arg[e_fun_function])
if (node1->nod_arg[e_fun_function] != node2->nod_arg[e_fun_function])
return false;
return CMP_node_match(node1->nod_arg[e_fun_args], node2->nod_arg[e_fun_args]);
}