diff options
author | unknown <serg@serg.mylan> | 2004-05-01 15:41:59 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-05-01 15:41:59 +0200 |
commit | 66f2d8bffa093629d90244e4c9aca7a5d1542ded (patch) | |
tree | 2102c0bebbd328026c172370dd5c0a06449b4b9e /myisam/mi_create.c | |
parent | 4173696d65b6688c6864cfb6265880237f57d271 (diff) | |
download | mariadb-git-66f2d8bffa093629d90244e4c9aca7a5d1542ded.tar.gz |
myisam_data_pointer_size
include/mysql.h:
compatibility fix
Diffstat (limited to 'myisam/mi_create.c')
-rw-r--r-- | myisam/mi_create.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/mi_create.c b/myisam/mi_create.c index 5682862c39a..838d647ea56 100644 --- a/myisam/mi_create.c +++ b/myisam/mi_create.c @@ -206,9 +206,9 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs, 3 : 0))); if (options & (HA_OPTION_COMPRESS_RECORD | HA_OPTION_PACK_RECORD)) - pointer=mi_get_pointer_length(ci->data_file_length,4); + pointer=mi_get_pointer_length(ci->data_file_length,myisam_data_pointer_size); else - pointer=mi_get_pointer_length(ci->max_rows,4); + pointer=mi_get_pointer_length(ci->max_rows,myisam_data_pointer_size); if (!(max_rows=(ulonglong) ci->max_rows)) max_rows= ((((ulonglong) 1 << (pointer*8)) -1) / min_pack_length); |