summaryrefslogtreecommitdiff
path: root/myisam/mi_open.c
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2002-10-08 17:58:43 +0300
committerunknown <monty@mashka.mysql.fi>2002-10-08 17:58:43 +0300
commit3dd6cce9891f5d8fc3fc0860bc6ac1576696a208 (patch)
treedb2963a215ecaa695d6df1a233f29e92a166f353 /myisam/mi_open.c
parent18585d178d6cbf8364c11da5973531681ac26879 (diff)
downloadmariadb-git-3dd6cce9891f5d8fc3fc0860bc6ac1576696a208.tar.gz
Fixed missing table_list->name -> table_list->alias convert
myisam/mi_open.c: Fixed problem with wrongly calculated max_data_file_length mysql-test/Makefile.am: Added missing .require test files scripts/mysqlhotcopy.sh: Remove end / from directory names (portability fix) tests/grant.res: Update of test results
Diffstat (limited to 'myisam/mi_open.c')
-rw-r--r--myisam/mi_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_open.c b/myisam/mi_open.c
index 617b1cd8d90..d53c39daec4 100644
--- a/myisam/mi_open.c
+++ b/myisam/mi_open.c
@@ -204,7 +204,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
max_data_file_length=
(share->options & (HA_OPTION_PACK_RECORD | HA_OPTION_COMPRESS_RECORD)) ?
(((ulonglong) 1 << (share->base.rec_reflength*8))-1) :
- (mi_safe_mul(share->base.reclength,
+ (mi_safe_mul(share->base.pack_reclength,
(ulonglong) 1 << (share->base.rec_reflength*8))-1);
max_key_file_length=
mi_safe_mul(MI_KEY_BLOCK_LENGTH,