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

Fixed CORE-6411: crash while creating a table with many (>5460) fields

This commit is contained in:
Dmitry Yemanov 2020-09-28 21:09:44 +03:00
parent 5da110a973
commit c7548daf52

View File

@ -5601,7 +5601,7 @@ static Format* make_format(thread_db* tdbb, jrd_rel* relation, USHORT* version,
buffer[pos] = UCHAR(dflCount);
buffer[pos + 1] = UCHAR(dflCount >> 8);
blob->BLB_put_segment(tdbb, buffer.begin(), buffer.getCount());
blob->BLB_put_data(tdbb, buffer.begin(), buffer.getCount());
blob->BLB_close(tdbb);
}
END_STORE