From e7f2533e1172871b2e956d0e2434cfdc08b2246c Mon Sep 17 00:00:00 2001 From: "sergey.larin" Date: Thu, 13 Sep 2018 15:29:17 +0300 Subject: [PATCH] =?UTF-8?q?BugFix=20=D0=B2=20=D1=84=D1=83=D0=BD=D0=BA?= =?UTF-8?q?=D1=86=D0=B8=D0=B8=20mi=5Fcreate.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- storage/myisam/mi_create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/myisam/mi_create.c b/storage/myisam/mi_create.c index ab45a16a..0d9b359c 100644 --- a/storage/myisam/mi_create.c +++ b/storage/myisam/mi_create.c @@ -205,7 +205,7 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs, pack_bytes= (packed+7)/8; if (pack_reclength != INT_MAX32) - pack_reclength+= reclength+packed + + pack_reclength+= reclength+ pack_bytes + MY_TEST(test_all_bits(options, HA_OPTION_CHECKSUM | HA_OPTION_PACK_RECORD)); min_pack_length+= pack_bytes; -- 2.16.1.windows.1