8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 21:23:04 +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:26:37 +00:00
parent 87a1d75439
commit 8eae2f5286

View File

@ -182,7 +182,7 @@ bool CMP_node_match( const qli_nod* node1, const qli_nod* node2)
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]);