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

Fixed CORE-1839: AV when sorting by field, calculated using resursive CTE

This commit is contained in:
alexpeshkoff 2008-04-16 12:11:29 +00:00
parent eba820918b
commit f0a837e63f

View File

@ -3719,10 +3719,10 @@ bool RSBRecurse::get(thread_db* tdbb, RecordSource* rsb, irsb_recurse* irsb)
memmove(rpb, p, sizeof(record_param));
p += sizeof(record_param);
if (!rpb->rpb_record) {
if (rec)
{
rpb->rpb_record = rec;
}
fb_assert(rpb->rpb_record == rec);
}
delete[] tmp;