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

Fixed CORE-3141 - The last column in a view is returning as a null value even when its not

This commit is contained in:
asfernandes 2010-09-25 20:12:27 +00:00
parent b42afd054a
commit f7dc73e483

View File

@ -3892,7 +3892,7 @@ jrd_nod* CMP_pass1(thread_db* tdbb, CompilerScratch* csb, jrd_nod* node)
sub->nod_type != nod_dbkey)
{
NodeStack stack;
expand_view_nodes(tdbb, csb, stream, stack, nod_dbkey, false);
expand_view_nodes(tdbb, csb, stream, stack, nod_dbkey, true);
const UCHAR streamCount = (UCHAR) stack.getCount();
if (streamCount)