From c7548daf529144a3c6ba7b5819b2bf328644e661 Mon Sep 17 00:00:00 2001 From: Dmitry Yemanov Date: Mon, 28 Sep 2020 21:09:44 +0300 Subject: [PATCH] Fixed CORE-6411: crash while creating a table with many (>5460) fields --- src/jrd/dfw.epp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/dfw.epp b/src/jrd/dfw.epp index a2a1c86066..ff12e5e46f 100644 --- a/src/jrd/dfw.epp +++ b/src/jrd/dfw.epp @@ -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