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:
parent
eba820918b
commit
f0a837e63f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user