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

Fixed compilation error

This commit is contained in:
hvlad 2011-02-08 21:05:13 +00:00
parent 43de59e3d6
commit 12db7e45db

View File

@ -270,7 +270,8 @@ bool OPT_computable(CompilerScratch* csb, jrd_nod* node, SSHORT stream,
return false;
}
for (ptr = rse->rse_relation, end = ptr + rse->rse_count; ptr < end; ptr++)
ptr = rse->rse_relation;
for (const jrd_nod* const* const end = ptr + rse->rse_count; ptr < end; ptr++)
{
if (!OPT_computable(csb, (*ptr), stream, idx_use, allowOnlyCurrentStream))
{